There is no need to clear every line entirely before drawing to it, this
authornicm <nicm@openbsd.org>
Mon, 18 Jan 2021 10:27:54 +0000 (10:27 +0000)
committernicm <nicm@openbsd.org>
Mon, 18 Jan 2021 10:27:54 +0000 (10:27 +0000)
commit8c34c8e12f9e33474526393a7386e7b80e3e24e5
tree602244850a94f6f25ee597e3382d79372961c5cf
parent3106ab340dcb50c20a5dced4de5940b11de81fee
There is no need to clear every line entirely before drawing to it, this
means moving the cursor and messes up wrapping. Better to just clear the
sections that aren't written over. GitHub issue 2537.
usr.bin/tmux/grid.c
usr.bin/tmux/screen-write.c
usr.bin/tmux/tmux.h
usr.bin/tmux/tty.c