summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2023-08-17 14:10:28 +0000
committernicm <nicm>2023-08-17 14:10:28 +0000
commit8636848e6348bb0e38cd6aaaadbe61e15181bc8f (patch)
treee9967f79f8a2060093ab0a1ca0a3ce6e3fe744f7 /tmux.h
parentd9942c769eb059e2cadfb63f2050fad8d0357d19 (diff)
Add a session, pane and user mouse range types for the status line and
add format variables for mouse_status_line and mouse_status_range so they can be associated with different commands in the key bindings. GitHub issue 3652.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 378871b7..d95ba597 100644
--- a/tmux.h
+++ b/tmux.h
@@ -795,11 +795,15 @@ enum style_range_type {
STYLE_RANGE_NONE,
STYLE_RANGE_LEFT,
STYLE_RANGE_RIGHT,
- STYLE_RANGE_WINDOW
+ STYLE_RANGE_PANE,
+ STYLE_RANGE_WINDOW,
+ STYLE_RANGE_SESSION,
+ STYLE_RANGE_USER
};
struct style_range {
enum style_range_type type;
u_int argument;
+ char string[16];
u_int start;
u_int end; /* not included */
@@ -826,6 +830,7 @@ struct style {
enum style_range_type range_type;
u_int range_argument;
+ char range_string[16];
enum style_default_type default_type;
};