I don't know if this is mentioned in the article because I didn't bother to read it, but the kitty terminal emulator has a number of good extensions on the terminal protocols including one for keyboard handling[1]. This has recently been implemented in Alacritty and I now use it as a basis for an experimental terminal editor focusing on keybinds rather than modes.<p><a href="https://sw.kovidgoyal.net/kitty/keyboard-protocol/" rel="nofollow">https://sw.kovidgoyal.net/kitty/keyboard-protocol/</a>