From 04e97e8aefa722b7a0941a70889afc7e50c24035 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 7 Aug 2009 00:12:13 +0000 Subject: 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. --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 97ac7040..a35e44a4 100644 --- a/tmux.h +++ b/tmux.h @@ -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; -- cgit