diff options
author | Robin Jarry <robin@jarry.cc> | 2022-09-14 21:09:02 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-09-14 22:11:33 +0200 |
commit | ee7937d0dd9201fdb78f363ddc8af950d0778f1b (patch) | |
tree | 33d827476be133aad84086b3d56b8b5ee0dbefd8 /commands | |
parent | d93ad24f5f8f1f9204b5951abcb4691c9fd0b80f (diff) | |
download | aerc-ee7937d0dd9201fdb78f363ddc8af950d0778f1b.tar.gz |
ui: cleanup internals and api
Now that tcell events are handled in a goroutine, no need for a channel
to buffer them.
Rename ui.Tick() to ui.Render() and ui.Run() to ui.ProcessEvents() to
better reflect what these functions do.
Move screen.PollEvent() into ui.ProcessEvents(). Register the panic
handler in ui.ProcessEvents().
Remove aerc.ui.Tick() from DecryptKeys(). What the hell was that?
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions