882fb4d295
Merge branch 'obsd-master'
2025-03-04 10:01:15 +00:00
eaf70c955b
Add mode 2031 support to automatically report dark or light theme. tmux
...
will guess the theme from the background colour on terminals which do
not themselves support the escape sequence. Written by Jonathan
Slenders, GitHub issue 4353.
2025-03-04 08:45:04 +00:00
94783addfc
Merge branch 'obsd-master'
2025-02-26 10:01:14 +00:00
91c0de60b4
Also need the implied meta paste keys in the list for output.
2025-02-26 09:02:00 +00:00
00894d188d
Merge branch 'obsd-master'
2025-01-02 12:01:10 +00:00
2a5eba7899
Check backspace against VERASE earlier before it is translated to an
...
internal key and do not go through the mapping on output. Fixes problems
reported by Ben Price in GitHub issue 4284 and by tb@.
2025-01-02 10:34:45 +00:00
e75f3a0060
Merge branch 'obsd-master'
2024-12-20 10:01:10 +00:00
eece41547e
Only map S-Tag in mode 2, not mode 1. GitHub issue 4304.
2024-12-20 07:10:51 +00:00
ae8f2208c9
Merge branch 'obsd-master'
2024-12-06 12:01:11 +00:00
5c3cf2f08b
Preserve modifiers on backspace.
2024-12-06 09:07:40 +00:00
99790c90aa
Merge branch 'obsd-master'
2024-12-04 22:01:08 +00:00
6d792e4123
Fix backspace option for new key format, GitHub issue 4284.
2024-12-04 19:11:15 +00:00
a269c33a54
Merge branch 'obsd-master'
2024-10-21 10:01:08 +01:00
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
2df15ad08c
Merge branch 'obsd-master'
2024-10-03 08:01:07 +01:00
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
38c38f1c64
Merge branch 'obsd-master'
2024-10-02 10:01:08 +01:00
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
157d748949
Merge branch 'obsd-master'
2024-10-01 10:01:10 +01:00
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
3d8ead8a97
Merge branch 'obsd-master'
2024-08-28 10:27:21 +01:00
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
34807388b0
Merge branch 'obsd-master'
2024-08-23 16:01:10 +01:00
08be883297
Ignore internal function keys if they have not got an entry in the key
...
table.
2024-08-23 13:25:39 +00:00
692bae9ea6
Merge branch 'obsd-master'
2024-08-21 08:01:09 +01:00
ceda0a68ae
C-Space and Meta keys should not be translated in mode 1 extended keys.
2024-08-21 04:55:57 +00:00
42895efac3
Merge branch 'obsd-master'
2023-01-12 22:01:09 +00:00
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
6fb80527f3
Merge branch 'obsd-master'
2022-11-08 12:01:11 +00:00
f86eba2129
Fix C-S-Tab without extended keys, from Aaron Jensen.
2022-11-08 10:04:31 +00:00
dbfbd8a195
Merge branch 'obsd-master'
2022-11-02 08:01:11 +00:00
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
36896f6dd0
Merge branch 'obsd-master'
2022-11-01 12:01:10 +00:00
2d08235987
Add modified Tab key sequences, from Aaron Jensen, GitHub issue 3368.
2022-11-01 09:54:13 +00:00
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
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
bf14bf6259
Merge branch 'obsd-master' into master
2022-03-01 18:01:10 +00:00
f39a71aaad
Don't convert codes for special keys (Tab, Enter, Escape).
2022-03-01 15:20:22 +00:00
2750195709
Merge branch 'obsd-master' into master
2022-02-28 10:01:11 +00:00
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
722f395e61
Merge branch 'obsd-master' into master
2022-02-16 22:01:11 +00:00
0027ee13a0
Support more mouse buttons when the terminal sends them, GitHub issue
...
3055.
2022-02-16 18:55:05 +00:00
944fde7c57
Merge branch 'obsd-master' into master
2021-08-20 20:01:27 +01:00
e463e8622d
Remove stray spaces after function names.
2021-08-20 17:50:42 +00:00
f706a7e236
Remove old shift function keys which interfere with xterm keys now.
...
GitHub issue 2696.
2021-06-10 07:52:07 +00:00
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
f2951bd4a5
Remove old shift function keys which interfere with xterm keys now. GitHub
...
issue 2696.
2021-05-05 07:23:23 +01:00
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
7579097db6
Merge branch 'obsd-master' into master
2021-04-09 10:01:19 +01:00
73cbe46f8d
Change a type to fix a warning with some compilers.
2021-04-09 07:02:00 +00:00