Add support in screen-write.c to properly display cmd output when there are floating panes on the screen.

This commit is contained in:
Michael Grant
2025-10-10 23:59:47 +01:00
parent 7634daa834
commit 5faf41b695
4 changed files with 173 additions and 62 deletions

8
tmux.h
View File

@@ -2234,6 +2234,11 @@ struct mode_tree_sort_criteria {
int reversed;
};
struct visible_range {
u_int px;
u_int nx;
};
/* tmux.c */
extern struct options *global_options;
extern struct options *global_s_options;
@@ -3164,6 +3169,9 @@ void screen_write_alternateoff(struct screen_write_ctx *,
/* screen-redraw.c */
void screen_redraw_screen(struct client *);
void screen_redraw_pane(struct client *, struct window_pane *, int);
void screen_redraw_get_visible_ranges(u_int, u_int, u_int,
struct window_pane *, struct visible_range **, int *);
/* screen.c */
void screen_init(struct screen *, u_int, u_int, u_int);