Using the alternative screen (smcup/rmcup) should also preserve the current

colours and attributes. Found thanks to a report from Taylor Venable.

While here also nuke a couple of extra blank lines.
This commit is contained in:
Nicholas Marriott
2009-08-07 00:12:13 +00:00
parent 746fe5832a
commit 04e97e8aef
2 changed files with 6 additions and 4 deletions

2
tmux.h
View File

@ -602,7 +602,6 @@ struct input_ctx {
struct grid_cell cell;
struct grid_cell saved_cell;
u_int saved_cx;
u_int saved_cy;
@ -674,6 +673,7 @@ struct window_pane {
u_int saved_cx;
u_int saved_cy;
struct grid *saved_grid;
struct grid_cell saved_cell;
const struct window_mode *mode;
void *modedata;