History log of /openbsd-src/usr.bin/tmux/key-string.c (Results 1 – 25 of 75)
Revision Date Author Comments
# 3be60a96 23-Aug-2024 nicm <nicm@openbsd.org>

Ignore internal function keys if they have not got an entry in the key
table.


# 3979f694 22-Aug-2024 nicm <nicm@openbsd.org>

Clear overlay when command prompt is entered. Also fix some spacing in
man page pointed out by jmc.


# 2ab33b3f 22-Aug-2024 nicm <nicm@openbsd.org>

Short Ctrl keys like ^A need to be converted to lowercase so they end up
as 'a'|KEYC_CTRL to match the new internal representation. Problem
reported by naddy@.


# 719f5715 21-Aug-2024 nicm <nicm@openbsd.org>

Revamp extended keys support to more closely match xterm and support
mode 2 as well as mode 1. From Stanislav Kljuhhin (GitHub issue 4038).

This changes tmux to always request mode 2 from parent ter

Revamp extended keys support to more closely match xterm and support
mode 2 as well as mode 1. From Stanislav Kljuhhin (GitHub issue 4038).

This changes tmux to always request mode 2 from parent terminal, change
to an unambiguous internal representation of keys, and adds an option
(extended-keys-format) to control the format similar to the xterm(1)
formatOtherKeys resource.

show more ...


# c79c3b80 16-Jan-2023 nicm <nicm@openbsd.org>

Mark keys sent by command and skip paste handling for them.


# 3c4ca0e6 01-Nov-2022 nicm <nicm@openbsd.org>

Add modified Tab key sequences, from Aaron Jensen, GitHub issue 3368.


# 4e5846a2 16-Feb-2022 nicm <nicm@openbsd.org>

Support more mouse buttons when the terminal sends them, GitHub issue
3055.


# fbafcf17 16-Jun-2021 nicm <nicm@openbsd.org>

Pass Ctrl keys through as is when given as hex, GitHub issue 2724.


# c5c8a224 10-Jun-2021 nicm <nicm@openbsd.org>

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.


# 9e79a802 10-Jun-2021 nicm <nicm@openbsd.org>

Add another couple of keys needed for extended keys, GitHub issue 2658.

Handle modifier 9 as Meta, GitHub issue 2647.


# 608f8715 07-Apr-2021 nicm <nicm@openbsd.org>

Restore previous behaviour so that C-X remains the same as C-x. Instead,
translate incoming extended keys so that they are consistent.


# 188fd23e 07-Apr-2021 nicm <nicm@openbsd.org>

Fixes for extended keys: 1) allow C-x and C-X to be bound separately
since some terminals report them differently 2) use the "backspace"
option to translate backspace 3) map ctrl which are have the c

Fixes for extended keys: 1) allow C-x and C-X to be bound separately
since some terminals report them differently 2) use the "backspace"
option to translate backspace 3) map ctrl which are have the ctrl
implied (such as C-x) properly when the terminal reports both the key
and the modifier.

Note that any key bindings for C-X where C-x is meant must now be
changed.

show more ...


# 7dbc9071 06-Jul-2020 nicm <nicm@openbsd.org>

Always send xterm-style keys for M-Left and M-Right. GitHub issue 2296.


# 483f88ea 27-Jun-2020 nicm <nicm@openbsd.org>

Fix 0x Unicode character parsing, GitHub issue 2286.


# 6852c63b 25-May-2020 nicm <nicm@openbsd.org>

Use the internal representation for UTF-8 keys instead of wchar_t and
drop some code only needed for that.


# 7610b309 20-May-2020 nicm <nicm@openbsd.org>

Fix a couple more places where the key flags need to be masked off.


# 95366a00 20-May-2020 nicm <nicm@openbsd.org>

Key strings need to include the cursor and keypad flags now since the
output key lookup expects them already set.


# 5416581e 16-May-2020 nicm <nicm@openbsd.org>

Separate key flags and modifiers, log key flags, make the "xterm" flag
more explicit and fix M- keys with a leading escape.


# 6a385b80 16-May-2020 nicm <nicm@openbsd.org>

Rename KEYC_ESCAPE to KEYC_META.


# ba27d7a5 09-Apr-2020 nicm <nicm@openbsd.org>

Some unnecessary assignments and unused variables.


# a7a9c343 31-Mar-2020 nicm <nicm@openbsd.org>

Add a "second click" key type which is fired for the second click of a
double click, even if the timer hasn't expired to confirm it isn't
actually a triple click. Provides a way for people who don't

Add a "second click" key type which is fired for the second click of a
double click, even if the timer hasn't expired to confirm it isn't
actually a triple click. Provides a way for people who don't care about
triple clicks or can make their commands have no side effects to avoid
the double click timer delay.

show more ...


# 8399ad73 15-Mar-2020 nicm <nicm@openbsd.org>

Fix C-Space key string.


# b44a6ab9 19-Feb-2020 nicm <nicm@openbsd.org>

A few fixes to make modifier keys and dragging work - need to remove the
modifiers before checking for the dragging marker key, and apply them
before looking up the end key. Also fix key-to-string wi

A few fixes to make modifier keys and dragging work - need to remove the
modifiers before checking for the dragging marker key, and apply them
before looking up the end key. Also fix key-to-string with modifiers for
special keys.

show more ...


# fdd8dc91 14-Nov-2019 nicm <nicm@openbsd.org>

Add an option to set the key sent by backspace for those whose system
uses ^H rather than ^?. GitHub issue 1969.


# a02c6cc0 09-Jul-2019 nicm <nicm@openbsd.org>

Add a -H flag to send-keys to send literal keys given as hex numbers
(needed for control clients to send mouse sequences). Also add some
format flags for UTF-8 and SGR mouse mode. Requested by Bradle

Add a -H flag to send-keys to send literal keys given as hex numbers
(needed for control clients to send mouse sequences). Also add some
format flags for UTF-8 and SGR mouse mode. Requested by Bradley Smith in
GitHub issues 1832 and 1833.

show more ...


123