aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-02-06 19:45:23 +0000
committernicm <nicm>2017-02-06 19:45:23 +0000
commit68e04907de6a13933805d3437872bd859f4ce6c1 (patch)
treeec9bec134d7175cd3e1d613a2a30755031c9d761 /tmux.h
parent10e14ae504df467234284a1040e91d48b41b2dd0 (diff)
downloadrtmux-68e04907de6a13933805d3437872bd859f4ce6c1.tar.gz
rtmux-68e04907de6a13933805d3437872bd859f4ce6c1.tar.bz2
rtmux-68e04907de6a13933805d3437872bd859f4ce6c1.zip
Do not go through the whole attributes setting process if the new cell
is the same as the previous one.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 4009a44f..f310a37a 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1054,6 +1054,9 @@ struct tty {
struct grid_cell cell;
+ int last_wp;
+ struct grid_cell last_cell;
+
#define TTY_NOCURSOR 0x1
#define TTY_FREEZE 0x2
#define TTY_TIMER 0x4