diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-09-12 16:09:19 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-09-13 23:58:54 +0200 |
commit | c947811e9f7a3421212287cbe9fce125aa059467 (patch) | |
tree | b347bb9d142538d2c37a06cfb4062395b48fef35 /commands/pin-tab.go | |
parent | fad90c2956c6e57fd8da83da9c218b35cf2a2f93 (diff) | |
download | aerc-c947811e9f7a3421212287cbe9fce125aa059467.tar.gz |
ui: process tcell events in a separate go routine from rendering
The UI runs off a 16 ms ticker. If no render is required, and no event
is seen, aerc waits 16 ms before checking for new events or render
requests. This severely limits handling of events from tcell, and is
particularly noticeable on pasting of large quantities of text.
Process tcell events in a separate go routine from the render loop.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/pin-tab.go')
0 files changed, 0 insertions, 0 deletions