aboutsummaryrefslogtreecommitdiff
path: root/input-keys.c
Commit message (Collapse)AuthorAge
* 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
| |
* | xterm-keys has been on by default for 5 years and all other modern terminalsNicholas Marriott2020-05-15
| | | | | | | | | | | | use these key sequences by default. Merge the code into the main tty and input tree processing (convering the latter to use a tree rather than a table at the same time) and make the option a no-op.
* | Merge branch 'obsd-master'Thomas Adam2020-04-07
|\|
| * Do not send mouse events if the program has not requested them.nicm2020-04-07
| |
* | Merge branch 'obsd-master'Thomas Adam2020-04-01
|\|
| * Support mouse in popups.nicm2020-04-01
| |
* | Merge branch 'obsd-master'Thomas Adam2020-03-19
|\|
| * Change input path so it doesn't require a pane.nicm2020-03-19
| |
* | Merge branch 'obsd-master'Thomas Adam2020-03-16
|\|
| * Send mouse down event immediately rather than waiting for double clicknicm2020-03-16
| | | | | | | | | | to finish which would now mean it was out of order. Reported by Mark Kelly.
* | Merge branch 'obsd-master'Thomas Adam2020-01-13
|\|
| * Treat plausible but invalid keys (like C-BSpace) as literal like anynicm2020-01-13
| | | | | | | | | | other unrecognised string passed to send-keys. Reported by Anthony Sottile in GitHub issue 2049.
* | Merge branch 'obsd-master'Thomas Adam2019-11-18
|\|
| * Keep modifiers on backspace when translating it.nicm2019-11-18
| |
* | Merge branch 'obsd-master'Thomas Adam2019-11-14
|\|
| * Add an option to set the key sent by backspace for those whose systemnicm2019-11-14
| | | | | | | | uses ^H rather than ^?. GitHub issue 1969.
* | Merge branch 'obsd-master'Thomas Adam2019-07-09
|\|
| * Add a -H flag to send-keys to send literal keys given as hex numbersnicm2019-07-09
| | | | | | | | | | | | (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.
| * Support for windows larger than visible on the attached client. This hasnicm2018-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | been a limitation for a long time. There are two new options, window-size and default-size, and a new command, resize-window. The force-width and force-height options and the session_width and session_height formats have been removed. The new window-size option tells tmux how to work out the size of windows: largest means it picks the size of the largest session, smallest the smallest session (similar to the old behaviour) and manual means that it does not automatically resize windows. The default is currently largest but this may change. aggressive-resize modifies the choice of session for largest and smallest as it did before. If a window is in a session attached to a client that is too small, only part of the window is shown. tmux attempts to keep the cursor visible, so the part of the window displayed is changed as the cursor moves (with a small delay, to try and avoid excess redrawing when applications redraw status lines or similar that are not currently visible). The offset of the visible portion of the window is shown in status-right. Drawing windows which are larger than the client is not as efficient as those which fit, particularly when the cursor moves, so it is recommended to avoid using this on slow machines or networks (set window-size to smallest or manual). The resize-window command can be used to resize a window manually. If it is used, the window-size option is automatically set to manual for the window (undo this with "setw -u window-size"). resize-window works in a similar way to resize-pane (-U -D -L -R -x -y flags) but also has -a and -A flags. -a sets the window to the size of the smallest client (what it would be if window-size was smallest) and -A the largest. For the same behaviour as force-width or force-height, use resize-window -x or -y, and "setw -u window-size" to revert to automatic sizing.. If the global window-size option is set to manual, the default-size option is used for new windows. If -x or -y is used with new-session, that sets the default-size option for the new session. The maximum size of a window is 10000x10000. But expect applications to complain and much higher memory use if making a window excessively big. The minimum size is the size required for the current layout including borders. The refresh-client command can be used to pan around a window, -U -D -L -R moves up, down, left or right and -c returns to automatic cursor tracking. The position is reset when the current window is changed.
* | Bring back window_pane_visible to stop input going to panes which areNicholas Marriott2018-09-10
| | | | | | | | hidden by zoom.