mirror of
https://github.com/tmux/tmux.git
synced 2026-06-21 17:55:21 +00:00
When entering or leaving the alternate screen, discard any pending
resizes. Improves flicking with scrollbars and programs that leave and enter the alternate screen on every WINCH like nano. GitHub issue 4772. Cvs: ----------------------------------------------------------------------
This commit is contained in:
6
tmux.h
6
tmux.h
@@ -1147,6 +1147,8 @@ struct window_mode_entry {
|
||||
struct screen *screen;
|
||||
u_int prefix;
|
||||
|
||||
int kill;
|
||||
|
||||
TAILQ_ENTRY(window_mode_entry) entry;
|
||||
};
|
||||
|
||||
@@ -3335,8 +3337,8 @@ void screen_hide_selection(struct screen *);
|
||||
int screen_check_selection(struct screen *, u_int, u_int);
|
||||
int screen_select_cell(struct screen *, struct grid_cell *,
|
||||
const struct grid_cell *);
|
||||
void screen_alternate_on(struct screen *, struct grid_cell *, int);
|
||||
void screen_alternate_off(struct screen *, struct grid_cell *, int);
|
||||
int screen_alternate_on(struct screen *, struct grid_cell *, int);
|
||||
int screen_alternate_off(struct screen *, struct grid_cell *, int);
|
||||
const char *screen_mode_to_string(int);
|
||||
const char *screen_print(struct screen *, int);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user