From b2bc34af12e6871faae82d1c46005e278d9cfe1d Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 12 Mar 2019 23:21:45 +0000 Subject: Set a flag on cells are genuinely empty (cleared and never written to) and use tty_clear_line (which will choose the best escape sequence) to clear any batches of cells with that flag when redrawing a line from the stored screen. --- tmux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index c25f80b4..0a2545d0 100644 --- a/tmux.h +++ b/tmux.h @@ -579,6 +579,7 @@ enum utf8_state { #define GRID_FLAG_EXTENDED 0x8 #define GRID_FLAG_SELECTED 0x10 #define GRID_FLAG_NOPALETTE 0x20 +#define GRID_FLAG_CLEARED 0x40 /* Grid line flags. */ #define GRID_LINE_WRAPPED 0x1 -- cgit