summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2019-03-12 23:21:45 +0000
committernicm <nicm>2019-03-12 23:21:45 +0000
commitb2bc34af12e6871faae82d1c46005e278d9cfe1d (patch)
tree3221dd457846727e84652668233f27c54e362673 /tmux.h
parent938156d73b0cc0692c727ac9a94bf65b235cfe40 (diff)
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.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
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