aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/ui.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2024-02-12 06:26:19 -0600
committerRobin Jarry <robin@jarry.cc>2024-02-12 13:48:48 +0100
commitcdc90afbaa1a6ff7d0900b6ce904a1e51e31bcd1 (patch)
tree4765fa753846ffe5a9d07c1fe442e8e1f2db0c61 /lib/ui/ui.go
parentf001f65240f85f0af91703dbcc0b068c0797297a (diff)
downloadaerc-cdc90afbaa1a6ff7d0900b6ce904a1e51e31bcd1.tar.gz
aerc: replace tcell keys with vaxis keys
Replace all instances of tcell key usage with vaxis keys Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/ui/ui.go')
-rw-r--r--lib/ui/ui.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ui/ui.go b/lib/ui/ui.go
index f17ca4b3..84c34459 100644
--- a/lib/ui/ui.go
+++ b/lib/ui/ui.go
@@ -9,7 +9,6 @@ import (
"git.sr.ht/~rjarry/aerc/config"
"git.sr.ht/~rjarry/aerc/log"
"git.sr.ht/~rockorager/vaxis"
- "github.com/gdamore/tcell/v2"
)
// Use unbuffered channels (always blocking unless somebody can read
@@ -143,7 +142,6 @@ func HandleEvent(event vaxis.Event) {
case vaxis.Redraw:
Invalidate()
default:
- event = tcell.TcellEvent(event)
// if we have a popover, and it can handle the event, it does so
if state.popover == nil || !state.popover.Event(event) {
// otherwise, we send the event to the main content