aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2018-02-16 09:51:41 +0000
committernicm <nicm>2018-02-16 09:51:41 +0000
commit320abba341311a0271e32f393afd89f1e82fc14c (patch)
tree95d73388236d1dae808413eb3fd08d7334d1e48f /tmux.h
parent7f4513ec34862805b06b2ff776785a36fdfec796 (diff)
downloadrtmux-320abba341311a0271e32f393afd89f1e82fc14c.tar.gz
rtmux-320abba341311a0271e32f393afd89f1e82fc14c.tar.bz2
rtmux-320abba341311a0271e32f393afd89f1e82fc14c.zip
Reflowing the grid in-place involved way too much memmove() for a big
performance cost with a large history. Instead change back to using a second grid and copying modified lines over which is much faster (this doesn't revert to the old code however which didn't support UTF-8 properly). GitHub issue 1249.
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 61032b3f..88a223e6 100644
--- a/tmux.h
+++ b/tmux.h
@@ -551,6 +551,7 @@ enum utf8_state {
/* Grid line flags. */
#define GRID_LINE_WRAPPED 0x1
#define GRID_LINE_EXTENDED 0x2
+#define GRID_LINE_DEAD 0x4
/* Grid cell data. */
struct grid_cell {