mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 23:56:58 +00:00
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.
This commit is contained in:
7
tmux.h
7
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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user