From 8636848e6348bb0e38cd6aaaadbe61e15181bc8f Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 17 Aug 2023 14:10:28 +0000 Subject: 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. --- tmux.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tmux.h') 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; }; -- cgit v1.2.3