aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2024-02-19 06:22:50 -0600
committerRobin Jarry <robin@jarry.cc>2024-02-19 21:06:22 +0100
commitd73cf33c2c6c3e564ce8aff04acc329a06eafc54 (patch)
tree8c3f19855373dc3ee4226187716d99e54fa73449
parentc4d5b604bcdf974b29634956fc34633fe8cc4eaa (diff)
downloadaerc-d73cf33c2c6c3e564ce8aff04acc329a06eafc54.tar.gz
aerc-d73cf33c2c6c3e564ce8aff04acc329a06eafc54.zip
ui: enable kitty keyboard protocol
Enable kitty keyboard protocol when support is detected. This will enable keybinds which traditionally have been unavailable due to conflicting with other keys (C-i, C-m, C-[, etc). Reported-by: Jonathan Dowland <jon+aerc-discuss@dow.land> Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Tested-by: Jonathan Dowland <jon@dow.land> Acked-by: Robin Jarry <robin@jarry.cc>
-rw-r--r--lib/ui/ui.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ui/ui.go b/lib/ui/ui.go
index d63ebf36..43545197 100644
--- a/lib/ui/ui.go
+++ b/lib/ui/ui.go
@@ -49,8 +49,7 @@ var state struct {
func Initialize(content DrawableInteractive) error {
opts := vaxis.Options{
- DisableMouse: !config.Ui.MouseEnabled,
- DisableKittyKeyboard: true,
+ DisableMouse: !config.Ui.MouseEnabled,
}
vx, err := vaxis.New(opts)
if err != nil {