a49caf96b5
The terminal widget uses it's own redraw logic to improve performance. With the addition of a main event loop, the redraw logic can happen in the main loop via the standard Invalidate logic. Use the Invalidate method to mark aerc invalid, and immediately trigger a redraw with ui.QueueRedraw. The follow up call to QueueRedraw is needed because the terminal update happens in a separate goroutine. This can result in the main event loop finishing it's process of the current event, redrawing the screen, and the terminal having additional updates to be drawn. This fixes race conditions by drawing and calling screen.Show in a separate goroutine. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc> |
||
---|---|---|
.. | ||
account-wizard.go | ||
account.go | ||
aerc.go | ||
authinfo.go | ||
compose.go | ||
dialog.go | ||
dirlist.go | ||
dirtree.go | ||
exline.go | ||
getpasswd.go | ||
headerlayout.go | ||
listbox.go | ||
msglist.go | ||
msgviewer.go | ||
pgpinfo.go | ||
providesmessage.go | ||
scrollable.go | ||
selector.go | ||
spinner.go | ||
status.go | ||
tabhost.go | ||
terminal.go |