From 6d20946dfefa91ea4188034ab78511cd8e4d4181 Mon Sep 17 00:00:00 2001 From: Rein Fernhout Date: Fri, 3 May 2024 19:32:04 +0200 Subject: [PATCH] Mark alacritty as supporting kitty protocol (#851) --- src/event.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/event.rs b/src/event.rs index 3dd120d..b3bf86a 100644 --- a/src/event.rs +++ b/src/event.rs @@ -256,9 +256,9 @@ bitflags! { /// Add extra events with [`KeyEvent.kind`] set to [`KeyEventKind::Repeat`] or /// [`KeyEventKind::Release`] when keys are autorepeated or released. const REPORT_EVENT_TYPES = 0b0000_0010; - // Send [alternate keycodes](https://sw.kovidgoyal.net/kitty/keyboard-protocol/#key-codes) - // in addition to the base keycode. The alternate keycode overrides the base keycode in - // resulting `KeyEvent`s. + /// Send [alternate keycodes](https://sw.kovidgoyal.net/kitty/keyboard-protocol/#key-codes) + /// in addition to the base keycode. The alternate keycode overrides the base keycode in + /// resulting `KeyEvent`s. const REPORT_ALTERNATE_KEYS = 0b0000_0100; /// Represent all keyboard events as CSI-u sequences. This is required to get repeat/release /// events for plain-text keys. @@ -444,6 +444,7 @@ impl Command for DisableBracketedPaste { /// * [kitty terminal](https://sw.kovidgoyal.net/kitty/) /// * [foot terminal](https://codeberg.org/dnkl/foot/issues/319) /// * [WezTerm terminal](https://wezfurlong.org/wezterm/config/lua/config/enable_kitty_keyboard.html) +/// * [alacritty terminal](https://github.com/alacritty/alacritty/issues/6378) /// * [notcurses library](https://github.com/dankamongmen/notcurses/issues/2131) /// * [neovim text editor](https://github.com/neovim/neovim/pull/18181) /// * [kakoune text editor](https://github.com/mawww/kakoune/issues/4103)