aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/patch/list.go4
-rw-r--r--commands/util.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/commands/patch/list.go b/commands/patch/list.go
index ee2850c3..e73cea3a 100644
--- a/commands/patch/list.go
+++ b/commands/patch/list.go
@@ -14,7 +14,7 @@ import (
"git.sr.ht/~rjarry/aerc/lib/pama/models"
"git.sr.ht/~rjarry/aerc/lib/ui"
"git.sr.ht/~rjarry/go-opt"
- "github.com/gdamore/tcell/v2"
+ "git.sr.ht/~rockorager/vaxis"
)
type List struct {
@@ -70,7 +70,7 @@ func (l List) Execute(args []string) error {
app.CloseDialog()
return
}
- term.OnEvent = func(_ tcell.Event) bool {
+ term.OnEvent = func(_ vaxis.Event) bool {
app.CloseDialog()
return true
}
diff --git a/commands/util.go b/commands/util.go
index af8d3dfa..0f6c7cb6 100644
--- a/commands/util.go
+++ b/commands/util.go
@@ -19,7 +19,7 @@ import (
"git.sr.ht/~rjarry/aerc/models"
"git.sr.ht/~rjarry/aerc/worker/types"
"git.sr.ht/~rjarry/go-opt"
- "github.com/gdamore/tcell/v2"
+ "git.sr.ht/~rockorager/vaxis"
)
// QuickTerm is an ephemeral terminal for running a single command and quitting.
@@ -43,7 +43,7 @@ func QuickTerm(args []string, stdin io.Reader) (*app.Terminal, error) {
} else {
app.PushStatus("Process complete, press any key to close.",
10*time.Second)
- term.OnEvent = func(event tcell.Event) bool {
+ term.OnEvent = func(event vaxis.Event) bool {
app.RemoveTab(term, true)
return true
}