diff options
author | Robin Jarry <robin@jarry.cc> | 2023-09-21 22:26:07 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-09-27 21:12:03 +0200 |
commit | 01ccccbf24a8e453e036bf08b7052ac47baa1ff7 (patch) | |
tree | 7b2617e3fb62e8afe3fbff7340259efadbba97b5 /models | |
parent | 37d5fc691aff24e5e41d5775bb6777b7cb4818c5 (diff) | |
download | aerc-01ccccbf24a8e453e036bf08b7052ac47baa1ff7.tar.gz |
terminal: draw even if underlying command has died
After the command running in the terminal has exited, the tcell-term
buffer still contains the last status of its virtual tty. If a virtual
terminal is visible, draw it even after its command has exited. Calling
tcellterm.VT.Draw() does not interact with the underlying process at
all, it only accesses the screen buffer.
This should fix incomplete drawing of message parts when using a pager
that exits after printing contents (e.g. `less -F`). Also, it should fix
redrawing of such message part contents after switching tabs back and
forth.
Reported-by: Julio B <julio.bacel@gmail.com>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Julio B <julio.bacel@gmail.com>
Diffstat (limited to 'models')
0 files changed, 0 insertions, 0 deletions