From 05eb4ece4439586096ff7d4edbf1a337460deb2c Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 9 Aug 2009 16:57:49 +0000 Subject: Sync OpenBSD patchset 223: 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 448be4e6..25b60acc 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.403 2009-08-09 16:48:34 tcunha Exp $ */ +/* $Id: tmux.h,v 1.404 2009-08-09 16:57:49 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -601,7 +601,6 @@ struct input_ctx { struct grid_cell cell; - struct grid_cell saved_cell; u_int saved_cx; u_int saved_cy; @@ -673,6 +672,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