Thomas Adam
a269c33a54
Merge branch 'obsd-master'
2024-10-21 10:01:08 +01:00
nicm
eb04f9314b
Adjust how Ctrl and Meta keys are sent to use standard representation if
...
available in mode 1, from Stanislav Kljuhhin, GitHub issue 4188.
2024-10-21 07:38:06 +00:00
Thomas Adam
2df15ad08c
Merge branch 'obsd-master'
2024-10-03 08:01:07 +01:00
nicm
780a87be9a
Improve fix for shifted keys so it works for all the keys it should,
...
Stanislav Kljuhhin in GitHub issue 4146.
2024-10-03 05:41:59 +00:00
Thomas Adam
38c38f1c64
Merge branch 'obsd-master'
2024-10-02 10:01:08 +01:00
nicm
ddf6af79e3
Report shifted keys like S-A as A not as S-A in mode 1 extended keys,
...
from Stanislav Kljuhhin.
2024-10-02 08:06:45 +00:00
Thomas Adam
157d748949
Merge branch 'obsd-master'
2024-10-01 10:01:10 +01:00
nicm
17bab32794
Change pasting to bypass the output key processing entirely and write
...
what was originally received. Fixes problems with pasted text being
interpreted as extended keys reported by Mark Kelly.
2024-10-01 06:15:47 +00:00
Thomas Adam
3d8ead8a97
Merge branch 'obsd-master'
2024-08-28 10:27:21 +01:00
nicm
31b6c9356c
C-h should not be treated specially and represented internally as \b but
...
as C-h like the other Ctrl keys. Backspace is already handled separately
if it VERASE.
2024-08-26 07:45:05 +00:00
Thomas Adam
34807388b0
Merge branch 'obsd-master'
2024-08-23 16:01:10 +01:00
nicm
08be883297
Ignore internal function keys if they have not got an entry in the key
...
table.
2024-08-23 13:25:39 +00:00
Thomas Adam
692bae9ea6
Merge branch 'obsd-master'
2024-08-21 08:01:09 +01:00
nicm
ceda0a68ae
C-Space and Meta keys should not be translated in mode 1 extended keys.
2024-08-21 04:55:57 +00:00
Thomas Adam
42895efac3
Merge branch 'obsd-master'
2023-01-12 22:01:09 +00:00
nicm
483cc77c1c
Have tmux recognise pasted texts wrapped in bracket paste sequences,
...
rather than only forwarding them to the program inside. From Andrew
Onyshchuk in GitHub issue 3431.
2023-01-12 18:49:11 +00:00
Thomas Adam
6fb80527f3
Merge branch 'obsd-master'
2022-11-08 12:01:11 +00:00
nicm
f86eba2129
Fix C-S-Tab without extended keys, from Aaron Jensen.
2022-11-08 10:04:31 +00:00
Thomas Adam
dbfbd8a195
Merge branch 'obsd-master'
2022-11-02 08:01:11 +00:00
nicm
9614f51560
Instead of always setting the extended flag, set it only when searching.
...
Allows send-keys to work. From Aaron Jensen.
2022-11-02 07:36:07 +00:00
Thomas Adam
36896f6dd0
Merge branch 'obsd-master'
2022-11-01 12:01:10 +00:00
nicm
2d08235987
Add modified Tab key sequences, from Aaron Jensen, GitHub issue 3368.
2022-11-01 09:54:13 +00:00
nicm
2b60ff588e
If a mouse position was above the maximum supported by the normal mouse
...
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.
2022-05-30 13:02:55 +00:00
Nicholas Marriott
c6b51cea92
If a mouse position was above the maximum supported by the normal mouse
...
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.
2022-04-27 11:34:08 +01:00
Thomas Adam
bf14bf6259
Merge branch 'obsd-master' into master
2022-03-01 18:01:10 +00:00
nicm
f39a71aaad
Don't convert codes for special keys (Tab, Enter, Escape).
2022-03-01 15:20:22 +00:00
Thomas Adam
2750195709
Merge branch 'obsd-master' into master
2022-02-28 10:01:11 +00:00
nicm
2e59ff2db9
Map control keys back to an ASCII uppercase letter when passing them on
...
as extended keys.
2022-02-28 09:24:22 +00:00
Thomas Adam
722f395e61
Merge branch 'obsd-master' into master
2022-02-16 22:01:11 +00:00
nicm
0027ee13a0
Support more mouse buttons when the terminal sends them, GitHub issue
...
3055.
2022-02-16 18:55:05 +00:00
Thomas Adam
944fde7c57
Merge branch 'obsd-master' into master
2021-08-20 20:01:27 +01:00
nicm
e463e8622d
Remove stray spaces after function names.
2021-08-20 17:50:42 +00:00
nicm
f706a7e236
Remove old shift function keys which interfere with xterm keys now.
...
GitHub issue 2696.
2021-06-10 07:52:07 +00:00
nicm
f02a6c34e0
Move "special" keys into the Unicode PUA rather than making them top bit
...
set, some compilers do not allow enums that are larger than int. GitHub
issue 2673.
2021-06-10 07:38:28 +00:00
Nicholas Marriott
f2951bd4a5
Remove old shift function keys which interfere with xterm keys now. GitHub
...
issue 2696.
2021-05-05 07:23:23 +01:00
Nicholas Marriott
e2d01795d2
Move "special" keys into the Unicode PUA rather than making them high a top bit
...
set, some compilers cannot handle enums that are larger than int. GitHub issue
2673.
2021-04-28 09:18:04 +01:00
Thomas Adam
7579097db6
Merge branch 'obsd-master' into master
2021-04-09 10:01:19 +01:00
nicm
73cbe46f8d
Change a type to fix a warning with some compilers.
2021-04-09 07:02:00 +00:00
Thomas Adam
caf7aeb3a9
Merge branch 'obsd-master' into master
2021-04-08 16:01:17 +01:00
nicm
30fb628388
Log the key written to the terminal as well as tmux's idea of what it
...
is.
2021-04-08 14:16:12 +00:00
nicm
5c275c2a1a
Log missing keys when extended keys is on rather than fatal().
2021-02-16 09:41:55 +00:00
nicm
0d28ee9274
Log missing keys when extended keys is on rather than fatal().
2020-11-17 08:13:35 +00:00
Thomas Adam
ca5afb34bf
Merge branch 'obsd-master'
2020-09-18 14:01:19 +01:00
nicm
ed946dccc7
Some other warnings, GitHub issue 2382.
2020-09-18 11:20:59 +00:00
Thomas Adam
191a836560
Merge branch 'obsd-master'
2020-06-01 18:01:18 +01:00
nicm
674ec410b7
Try without cursor/keypad flags if a key doesn't exist, and limit ctrl
...
key translation to ASCII keys. Fixes send-keys, GitHub issue 2247.
2020-06-01 16:09:35 +00:00
Thomas Adam
967e5f8be3
Merge branch 'obsd-master'
2020-05-26 08:42:55 +01:00
nicm
6f03e49e68
Use the internal representation for UTF-8 keys instead of wchar_t and
...
drop some code only needed for that.
2020-05-25 18:57:24 +00:00
Thomas Adam
fb9e53ba19
Merge branch 'obsd-master'
2020-05-19 14:01:17 +01:00
nicm
8425084b8a
Some other ctrl keys need to be translated with extended keys on.
2020-05-19 10:59:09 +00:00