aerc/lib/ui
Tim Culverhouse c947811e9f 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>
2022-09-13 23:58:54 +02:00
..
borders.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
context.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
fill.go view,compose: use border color to separate headers from body 2021-10-28 16:38:23 +02:00
grid.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
interfaces.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
invalidatable.go lib/ui: introduce Invalidatable 2019-04-27 14:30:28 -04:00
popover.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
stack.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
tab.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
text.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
textinput.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
ui.go ui: process tcell events in a separate go routine from rendering 2022-09-13 23:58:54 +02:00