Commit Graph

86 Commits

Author SHA1 Message Date
Kovid Goyal
b2587c1d54 Fix modifier reporting on macOS
We make use of the fact that the device dependent modifiers flags
actually report left/right modifier. Code taken form SDL, with thanks.
2023-12-14 11:31:48 +05:30
Kovid Goyal
7e5230e6f4 more grammar 2023-12-14 09:06:16 +05:30
Kovid Goyal
64cfe8171f ... 2023-12-14 08:55:43 +05:30
Kovid Goyal
a9b424e307 Keyboard protocol: Clarify the behavior of the modifier bits during modifier key events
I cant find any relevant standards for this, so am just picking the
macOS behavior as it seems more sensible to me.

Fixes #6913
2023-12-14 08:50:19 +05:30
Kovid Goyal
22ac57c374 Another terminal emulator adds support for the kitty keyboard protocol 2023-12-06 16:32:27 +05:30
Kovid Goyal
e04e5a157f Note that nushell supports the kitty keyboard protocol 2023-09-29 19:48:46 +05:30
Kovid Goyal
0a2f164062 Change kitty +kitten -> kitten in docs
All kittens except for the broadcast and panel kittens have now been
ported to Go and so can be run with just kitten rather than kitty
+kitten. So update the docs to use this canonical form for launching
kittens
2023-09-21 12:25:02 +05:30
olzhasar
d0a5d1b3a4 Fix misspellings 2023-06-14 03:39:53 +06:00
Chase Colman
d569565fe6 Add awrit to keyboard-protocol 2023-05-13 23:44:18 +08:00
Kovid Goyal
f250a93715 Fix #6165 2023-04-09 08:48:56 +05:30
Kovid Goyal
3f943998c6 Note that the kitty keyboard protocol can be used in emacs 2023-04-07 08:22:33 +05:30
Carl Johnson
0afcf5a26b keyboard-protocol.rst: Add Helix 2023-03-31 14:07:09 -04:00
Kovid Goyal
e5bc7255b2 ... 2023-01-20 07:07:28 +05:30
Kovid Goyal
75048d56bc ... 2023-01-19 07:54:03 +05:30
Kovid Goyal
19f853c29f Add a note about all the things wrong with modifyOtherKeys 2023-01-18 22:57:56 +05:30
Kovid Goyal
cd92d50a0d Keyboard protocol: Remove CSI R from the allowed encodings of the F3 key as it conflicts with the *Cursor Position Report* escape code 2022-12-24 10:32:28 +05:30
Kovid Goyal
f6ab641b00 Clarify the action of CSI < u in Quickstart 2022-11-30 16:28:34 +05:30
zeertzjq
daeb1b6c50 Add note about Vim's support for kitty keyboard protocol 2022-11-24 11:30:40 +08:00
Kovid Goyal
29b3d49cd5 Note that the crossterm library has added support for the kitty keyboard protocol 2022-07-26 07:45:57 +05:30
Kovid Goyal
17f67fbe28 Add a note that WezTerm implements the kitty keyboard protocol as well 2022-06-23 11:22:01 +05:30
Kovid Goyal
f9f6f98527 Note that neovim is also getting support for the kitty keyboard protocol 2022-04-26 08:39:44 +05:30
Kovid Goyal
6941884221 ... 2022-04-20 13:36:26 +05:30
Craig Barnes
106c7a1706 Mention dte text editor in list of apps in docs/keyboard-protocol.rst 2022-03-04 23:56:17 +00:00
Kovid Goyal
f9171a767c Also document menu key encoding 2022-01-11 22:48:53 +05:30
Kovid Goyal
3d59e4eac1 Add links to other implementations of the keyboard protocol 2021-12-09 07:18:12 +05:30
pagedown
bd4399b5fc ... 2021-11-26 09:26:07 +08:00
Kovid Goyal
00167cd9ab Merge branch 'docs-kbd' of https://github.com/page-down/kitty 2021-11-25 10:58:29 +05:30
pagedown
1692516955 ... 2021-11-25 13:24:46 +08:00
Kovid Goyal
0bcf73f980 ... 2021-11-25 10:35:53 +05:30
Kovid Goyal
e68914f46b Rationalize usage of :kbd: 2021-11-25 10:34:25 +05:30
Kovid Goyal
fd331480fc ... 2021-11-25 10:11:12 +05:30
pagedown
77aa3e7e11 Use Unicode characters for modifier keys 2021-11-25 12:00:36 +08:00
Kovid Goyal
d6a43a7729 Dont turn on disambiguate keys when receiving th XTMODKEYS escape code
See #4075
2021-10-01 21:26:27 +05:30
Kovid Goyal
7a16ef2cc4 ... 2021-09-29 13:21:42 +05:30
Kovid Goyal
a0cee13652 Also turn on extended key reporting for CSI > 4; 2 m
This is supported by XTerm and used by vim. Fixes #4075
2021-09-29 11:12:01 +05:30
Ravi R Kiran
75df0cbcf5 Gate Wayland modifier autodiscovery behind an environment variable 2021-08-17 21:46:09 -05:00
Kovid Goyal
f787a377c3 A new theme for the kitty website
Supports dark mode. Also re-organize the documentation
a bit, making it more hierarchical.

Have a nicer landing page
2021-07-18 13:29:33 +05:30
Kovid Goyal
857c88a951 Add a note to the keyboard protocol elucidating the use of separate main and alternate screen mode stacks in more detail 2021-06-18 09:58:19 +05:30
Kovid Goyal
74b0a7f6f8 Make it clearer that there are separate keyboard mode stacks for main and alternate screens 2021-06-18 09:41:35 +05:30
Kovid Goyal
bc6e819396 typos in text 2021-05-19 20:35:43 +05:30
Kovid Goyal
28b4fe5cb6 A new show_key kitten
Fixes #3556
2021-04-29 13:10:20 +05:30
Kovid Goyal
4c644b8556 Add NumLock and CapsLock reporting to the keyboard protocol 2021-04-13 07:10:00 +05:30
Kovid Goyal
c989a7198b Add support for the keypad Begin key
Fixes #3468
2021-04-11 07:58:27 +05:30
Kovid Goyal
d5448e6902 Add documentation and cleanup previous PR 2021-04-03 06:25:47 +05:30
Ravi R Kiran
953253de99 Implementation of hyper and meta 2021-03-30 14:23:17 -05:00
Kovid Goyal
d360d077d1 Handle the XTMODKEYS escape code
Treat the XTerm specific modifyOtherKeys escape codes as putting the
disambiguate mode on/off the stack. The escape code causes XTerm to use
a (broken, naturally) variant of CSI u encoding for many keys, so we
treat it as going into the disambiguate mode.
2021-03-16 17:46:11 +05:30
Kovid Goyal
56fcbb95ab Key encoding: in legacy mode use legacy encoding for a few more combinations
Some legacy terminal applications get confused seeing CSI u escape
codes. Since it is relatively common to press ctrl or shift and
space/enter/tab/backspace, emit the same bytes as traditional terminals
do for these common keys.
2021-02-21 11:14:25 +05:30
Kovid Goyal
9f0785a160 Add a link to the RFC 2021-02-05 11:36:03 +05:30
Kovid Goyal
2ab0ff74c6 ... 2021-01-21 11:34:21 +05:30
Kovid Goyal
22cb9b9798 Add a note about kbs = backspace 2021-01-21 11:29:01 +05:30