Add top-floating and bottom-floating to pane-border-status to show

status line only on floating panes.
This commit is contained in:
nicm
2026-06-15 08:16:05 +00:00
parent 97b5f22a70
commit 7a18fa281d
7 changed files with 65 additions and 32 deletions

4
tmux.h
View File

@@ -1078,7 +1078,6 @@ struct screen_redraw_ctx {
u_int statuslines;
int statustop;
int pane_status;
enum pane_lines pane_lines;
int pane_scrollbars;
@@ -1416,6 +1415,8 @@ TAILQ_HEAD(winlink_stack, winlink);
#define PANE_STATUS_OFF 0
#define PANE_STATUS_TOP 1
#define PANE_STATUS_BOTTOM 2
#define PANE_STATUS_TOP_FLOATING 3
#define PANE_STATUS_BOTTOM_FLOATING 4
/* Pane scrollbars option. */
#define PANE_SCROLLBARS_OFF 0
@@ -3474,6 +3475,7 @@ int window_get_bg_client(struct window_pane *);
enum client_theme window_pane_get_theme(struct window_pane *);
void window_pane_send_theme_update(struct window_pane *);
int window_get_pane_status(struct window *);
int window_pane_get_pane_status(struct window_pane *);
struct style_range *window_pane_status_get_range(struct window_pane *, u_int,
u_int);
int window_pane_is_floating(struct window_pane *);