aboutsummaryrefslogtreecommitdiff
path: root/input-keys.c
Commit message (Collapse)AuthorAge
* Remove and killswitchrahmJosh Rahm2023-01-27
|
* Merge remote-tracking branch 'upstream/master' into rahmJosh Rahm2023-01-27
|\
| * Merge branch 'obsd-master'Thomas Adam2023-01-12
| |\
| | * Have tmux recognise pasted texts wrapped in bracket paste sequences,nicm2023-01-12
| | | | | | | | | | | | | | | rather than only forwarding them to the program inside. From Andrew Onyshchuk in GitHub issue 3431.
| * | Merge branch 'obsd-master'Thomas Adam2022-11-08
| |\|
| | * Fix C-S-Tab without extended keys, from Aaron Jensen.nicm2022-11-08
| | |
| * | Merge branch 'obsd-master'Thomas Adam2022-11-02
| |\|
| | * Instead of always setting the extended flag, set it only when searching.nicm2022-11-02
| | | | | | | | | | | | Allows send-keys to work. From Aaron Jensen.
| * | Merge branch 'obsd-master'Thomas Adam2022-11-01
| |\|
| | * Add modified Tab key sequences, from Aaron Jensen, GitHub issue 3368.nicm2022-11-01
| | |
| | * If a mouse position was above the maximum supported by the normal mousenicm2022-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | protocol (223), tmux was allowing it to wrap around. However, since tmux was not correctly handling this on input, other programs also do not handle it correctly, and the alternative SGR mouse mode is now widespread, this seems unnecessary, so remove this feature. Also define some constants to make it clearer what the numbers mean. Mostly from Leonid S Usov in GitHub issue 3165.
* | | Merge remote-tracking branch 'origin/master' into rahmJosh Rahm2022-07-21
|\| |
| * | If a mouse position was above the maximum supported by the normal mouseNicholas Marriott2022-04-27
| | | | | | | | | | | | | | | | | | | | | | | | protocol (223), tmux was allowing it to wrap around. However, since tmux was not correctly handling this on input, other programs also do not handle it correctly, and the alternative SGR mouse mode is now widespread, this seems unnecessary, so remove this feature. Also define some constants to make it clearer what the numbers mean. Mostly from Leonid S Usov in GitHub issue 3165.
| * | Merge branch 'obsd-master' into masterThomas Adam2022-03-01
| |\|
| | * Don't convert codes for special keys (Tab, Enter, Escape).nicm2022-03-01
| | |
| * | Merge branch 'obsd-master' into masterThomas Adam2022-02-28
| |\|
| | * Map control keys back to an ASCII uppercase letter when passing them onnicm2022-02-28
| | | | | | | | | | | | as extended keys.
| * | Merge branch 'obsd-master' into masterThomas Adam2022-02-16
| |\|
| | * Support more mouse buttons when the terminal sends them, GitHub issuenicm2022-02-16
| | | | | | | | | | | | 3055.
* | | Add condition that shift+unicode will send an termkey code through Tmux as well.HEADmasterJosh Rahm2021-10-13
| | |
* | | Added ability to send extended codes for unicode characters.Josh Rahm2021-10-10
|/ /
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-20
|\|
| * Remove stray spaces after function names.nicm2021-08-20
| |
| * Remove old shift function keys which interfere with xterm keys now.nicm2021-06-10
| | | | | | | | GitHub issue 2696.
| * Move "special" keys into the Unicode PUA rather than making them top bitnicm2021-06-10
| | | | | | | | | | set, some compilers do not allow enums that are larger than int. GitHub issue 2673.
* | Remove old shift function keys which interfere with xterm keys now. GitHubNicholas Marriott2021-05-05
| | | | | | | | issue 2696.
* | Move "special" keys into the Unicode PUA rather than making them high a top bitNicholas Marriott2021-04-28
| | | | | | | | | | set, some compilers cannot handle enums that are larger than int. GitHub issue 2673.
* | Merge branch 'obsd-master' into masterThomas Adam2021-04-09
|\|
| * Change a type to fix a warning with some compilers.nicm2021-04-09
| |
* | Merge branch 'obsd-master' into masterThomas Adam2021-04-08
|\|
| * Log the key written to the terminal as well as tmux's idea of what itnicm2021-04-08
| | | | | | | | is.
| * Log missing keys when extended keys is on rather than fatal().nicm2020-11-17
| |
* | Log missing keys when extended keys is on rather than fatal().nicm2021-02-16
| |
* | Merge branch 'obsd-master'Thomas Adam2020-09-18
|\|
| * Some other warnings, GitHub issue 2382.nicm2020-09-18
| |
* | Merge branch 'obsd-master'Thomas Adam2020-06-01
|\|
| * Try without cursor/keypad flags if a key doesn't exist, and limit ctrlnicm2020-06-01
| | | | | | | | key translation to ASCII keys. Fixes send-keys, GitHub issue 2247.
* | Merge branch 'obsd-master'Thomas Adam2020-05-26
|\|
| * Use the internal representation for UTF-8 keys instead of wchar_t andnicm2020-05-25
| | | | | | | | drop some code only needed for that.
* | Merge branch 'obsd-master'Thomas Adam2020-05-19
|\|
| * Some other ctrl keys need to be translated with extended keys on.nicm2020-05-19
| |
| * Add a terminal feature for enable/disable extended keys (supported bynicm2020-05-16
| | | | | | | | | | | | | | xterm and mintty) and add an option to make tmux send it. Only forward extended keys if the application has requested them, even though we use the CSI u sequence and xterm uses CSI 27 ~ - this is what mintty does as well.
* | If the application has not requested extended keys, then C-1 sends 1 notNicholas Marriott2020-05-16
| | | | | | | | nothing.
* | Er, misread this and it is not needed.Nicholas Marriott2020-05-15
| |
* | Only forward extended keys if the application has requested them, even thoughNicholas Marriott2020-05-15
| | | | | | | | | | we use the CSI u sequence and xterm uses CSI 27 ~ - this is what mintty does as well.
* | C-M-S keys need the implied flag also.Nicholas Marriott2020-05-15
| |
* | Send conventional \033 sequences for keys with just Meta even if they came inNicholas Marriott2020-05-15
| | | | | | | | | | as an extended CSI u key sequence. It is much more useful for applications that don't understand CSI u to receive \033> for M-S-. rather than \033[62;3u.
* | Send CSI u sequences for any keys that do not have a defined sequence already -Nicholas Marriott2020-05-15
| | | | | | | | | | this should only be similar sequences sent by the terminal outside tmux if enabled.
* | Separate key flags and modifiers, log key flags, make the "xterm" flag moreNicholas Marriott2020-05-15
| | | | | | | | explicit and fix M- keys with a leading escape.
* | Rename KEYC_ESCAPE to KEYC_META.Nicholas Marriott2020-05-15
| |