Don't update cells in each block of data read from a pane immediately,
authornicm <nicm@openbsd.org>
Fri, 15 Jul 2016 00:49:08 +0000 (00:49 +0000)
committernicm <nicm@openbsd.org>
Fri, 15 Jul 2016 00:49:08 +0000 (00:49 +0000)
commit5fd00ece6e9ad9ee343097d44aa417262aa58d71
tree35435c664c77fd15e674a4de53c0befeb1108bca
parent92c661c58a8104b40f0f5a264118afa8ed14a97a
Don't update cells in each block of data read from a pane immediately,
instead track them as change (dirty) and update them once at the end,
saves much time if repeatedly writing the same cell. Also fix comparison
of cells being equal in a few places (memcmp is not enough).
usr.bin/tmux/grid.c
usr.bin/tmux/screen-write.c
usr.bin/tmux/screen.c
usr.bin/tmux/tmux.h
usr.bin/tmux/tty.c