aboutsummaryrefslogtreecommitdiffstats
path: root/commands/send-keys.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/send-keys.go')
-rw-r--r--commands/send-keys.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/commands/send-keys.go b/commands/send-keys.go
index a7b6dee9..a61bfcf2 100644
--- a/commands/send-keys.go
+++ b/commands/send-keys.go
@@ -3,7 +3,7 @@ package commands
import (
"git.sr.ht/~rjarry/aerc/app"
"git.sr.ht/~rjarry/aerc/config"
- "github.com/gdamore/tcell/v2"
+ "git.sr.ht/~rockorager/vaxis"
"github.com/pkg/errors"
)
@@ -40,7 +40,10 @@ func (s SendKeys) Execute(args []string) error {
}
for _, key := range keys2send {
- ev := tcell.NewEventKey(key.Key, key.Rune, key.Modifiers)
+ ev := vaxis.Key{
+ Keycode: key.Key,
+ Modifiers: key.Modifiers,
+ }
term.Event(ev)
}