From 68e04907de6a13933805d3437872bd859f4ce6c1 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 6 Feb 2017 19:45:23 +0000 Subject: Do not go through the whole attributes setting process if the new cell is the same as the previous one. --- tmux.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmux.h') 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 -- cgit