diff options
author | nicm <nicm> | 2023-08-17 14:10:28 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-08-17 14:10:28 +0000 |
commit | 8636848e6348bb0e38cd6aaaadbe61e15181bc8f (patch) | |
tree | e9967f79f8a2060093ab0a1ca0a3ce6e3fe744f7 /tmux.h | |
parent | d9942c769eb059e2cadfb63f2050fad8d0357d19 (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.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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; }; |