Do not go through the whole attributes setting process if the new cell

is the same as the previous one.
This commit is contained in:
nicm
2017-02-06 19:45:23 +00:00
parent 10e14ae504
commit 68e04907de
2 changed files with 26 additions and 6 deletions

3
tmux.h
View File

@ -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