Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-22 | Merge branch 'obsd-master' | Thomas Adam | |
2018-08-22 | Add StatusLeft and StatusRight mouse key modifiers for the left and | nicm | |
right parts of the status line. | |||
2018-08-21 | Add flags to refresh-client (-U -D -L -R and -c) to pan a window that | Nicholas Marriott | |
is larger than the client manually. Bound to S-Up, S-Down, S-Left, S-Right and Delete manually. Also add aliases for keys DC = Delete, IC = Insert, and make refresh-client -C accept XxY as well as X,Y to match default-size. | |||
2018-07-16 | Add an "Any" key to run a command if a key is pressed that is not bound | nicm | |
in the current key table. GitHub issue 1404. | |||
2017-06-23 | Add user-keys option to allow user-defined keys to be set, from Dan | nicm | |
Aloni. | |||
2017-06-12 | Add explicit keys for the bracketed paste sequences, both to avoid mix | nicm | |
ups with other keys and to make logs clearer. | |||
2017-02-22 | Minor bits: fix an array size, add comment, make grid_cell_entry static. | nicm | |
2017-02-01 | Implement "all event" (1003) mouse mode but in a way that works. The | nicm | |
main issue is that if we have two panes, A with 1002 and B with 1003, we need to set 1003 outside tmux in order to get all the mouse events, but then we need to suppress the ones that pane A doesn't want. This is easy in SGR mouse mode, because buttons == 3 is only used for movement events (for other events the trailing m/M marks a release instead), but in normal mouse mode we can't tell so easily. So for that, look at the previous event instead - if it is drag+release as well, then the current event is a movement event. | |||
2017-01-11 | Add some missing special keys to key_string_lookup_key, fix a mouse | nicm | |
check in server_client_handle_key, and tweak a comment. | |||
2017-01-05 | Highlight all occurrences of search string after searching in copy mode. | nicm | |
2016-11-23 | Error on invalid modifier keys. | nicm | |
2016-10-11 | Support double and triple clicks (they are cumulative, so double is | nicm | |
fired then triple), and use for select-word and select-line in copy mode. Inspired by a different solution from Omar Sandoval. | |||
2016-10-10 | Loads more static, except for cmd-*.c and window-*.c. | nicm | |
2016-05-26 | Extend 0x1234 keys form to more bits so that Unicode keys work. | nicm | |
2016-04-25 | Don't overwrite modifiers in the buffer when making UTF-8 strings, | nicm | |
append instead. | |||
2016-03-18 | Instead of reusing MouseUp at the finish of a drag, add a new key | nicm | |
MouseDragEnd. It can be useful to bind them separately in copy mode. | |||
2016-03-02 | Handle wcwidth() and mbtowc() failures in better style and drop | nicm | |
characters where we can't find the width (wcwidth() fails) on input, the same as we drop invalid UTF-8. Suggested by schwarze@. | |||
2016-01-19 | I no longer use my SourceForge address so replace it. | nicm | |
2015-12-12 | Allow prefix and prefix2 to be set to None to disable (useful if you | nicm | |
would rather bind the prefix in the root table). | |||
2015-11-14 | All these return values from utf8_* are confusing, use an enum. | nicm | |
2015-11-14 | Couple of assignments to remove compiler warnings. | nicm | |
2015-11-14 | Be more strict about invalid UTF-8. | nicm | |
2015-11-12 | Rename overly-long utf8data to ud throughout. | nicm | |
2015-11-12 | Support UTF-8 key bindings by expanding the key type from int to | nicm | |
uint64_t and converting UTF-8 to Unicode on input and the reverse on output. (This allows key bindings, there are still omissions - the largest being that the various prompts do not accept UTF-8.) | |||
2015-10-26 | Handle unknown keys more gracefully, return a string instead of NULL. | nicm | |
2015-04-19 | Rewrite of tmux mouse support which was a mess. Instead of having | nicm | |
options for "mouse-this" and "mouse-that", mouse events may be bound as keys and there is one option "mouse" that turns on mouse support entirely (set -g mouse on). See the new MOUSE SUPPORT section of the man page for description of the key names and new flags (-t= to specify the pane or window under mouse as a target, and send-keys -M to pass through a mouse event). The default builtin bindings for the mouse are: bind -n MouseDown1Pane select-pane -t=; send-keys -M bind -n MouseDown1Status select-window -t= bind -n MouseDrag1Pane copy-mode -M bind -n MouseDrag1Border resize-pane -M To get the effect of turning mode-mouse off, do: unbind -n MouseDrag1Pane unbind -temacs-copy MouseDrag1Pane The old mouse options are now gone, set-option -q may be used to suppress warnings if mixing configuration files. | |||
2014-07-21 | Drop explicit support for F13-F20 and change to match the xterm terminfo | nicm | |
entry: F13-F24 are S-F1 to S-F12 F25-F36 are C-F1 to C-F12 F37-F48 are C-S-F1 to C-S-F12 F49-F60 are M-F1 to M-F12 and F61-F63 are M-S-F1 to M-S-F3 This should be no difference for applications inside tmux, but means that any key binding for F13 will need to be replaced by S-F1 and so on. | |||
2013-03-22 | In terminals with XT, turn on modifyOtherKeys=1 with the escape sequence | Nicholas Marriott | |
and handle the most common set. Pass them through if xterm-keys is on. | |||
2012-03-04 | Accept hex values as keys, needed for send-keys, based on a diff from | Nicholas Marriott | |
George Nachman. | |||
2012-01-21 | Drop the ability to have a list of keys in the prefix in favour of two | Nicholas Marriott | |
separate options, prefix and prefix2. This simplifies the code and gets rid the data options type which was only used for this one option. Also add a -2 flag to send-prefix to send the secondary prefix key, fixing a cause of minor irritation. People who want three prefix keys are out of luck :-). | |||
2011-10-23 | Alias NPage/PPage as PageDown/PgDn/PageUp/PgUp to reduce occasional | Nicholas Marriott | |
confusion. | |||
2011-01-23 | Allow top-bit-set characters to be used for key bindings, from Tiago | Nicholas Marriott | |
Cunha. | |||
2011-01-01 | Last few tables that should be const. | Nicholas Marriott | |
2010-06-06 | Use a macro-based mask for obtaining a key or modifier-set from the | Nicholas Marriott | |
combination. Display C-@, etc, as C-Space, in list-keys. By Micah Cowan. | |||
2010-06-05 | Fix binding of C-Space/C-@, from Micah Cowan. | Nicholas Marriott | |
2010-05-03 | Make C-] and other punctuation-based control key combinations work again. | Ryan McBride | |
ok nicm | |||
2010-04-23 | When converting A-Z into a control character, want to subtract 64 not | Nicholas Marriott | |
65... whoops. | |||
2010-04-21 | Rewrite key string conversions to be readable and to work properly for | Nicholas Marriott | |
multiple modifiers. | |||
2010-01-14 | Permit S- prefix on keys for shift. Relatively few terminals support this | Nicholas Marriott | |
(basically xterm only) and even fewer have them in terminfo (kLFT2 and kRIT2). | |||
2009-12-03 | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last | Nicholas Marriott | |
time now I've configured emacs to make them displayed in really annoying colours... | |||
2009-11-26 | Make types clearer and lint happier. | Nicholas Marriott | |
2009-11-10 | Lookup key as a named key (eg 'Space') before checking for single character | Nicholas Marriott | |
keys, makes C-Space/M-Space etc resolve to the correct key code. | |||
2009-10-26 | Rename keypad keys to something more useful. | Nicholas Marriott | |
2009-10-06 | Accept ^? for backspace as well as BSpace. | Nicholas Marriott | |
2009-10-04 | Add a key string for space ("Space") and document the names, suggested by | Nicholas Marriott | |
guenther@. Also document how to bind " and ', suggested by miod@. | |||
2009-07-28 | Accept and print "Enter" and "Escape" for keys rather than C-m and C-[. | Nicholas Marriott | |
2009-07-26 | Detect backspace by looking at termios VERASE and translate it into \177 (which | Nicholas Marriott | |
matches screen's behaviour if not its termcap/terminfo entry). The terminfo kbs cap is often wrong or missing so it can't be used, and just assuming \177 may be wrong. | |||
2009-07-24 | Accept lowercase c- and m- prefix as well as C- and M-. | Nicholas Marriott | |
2009-07-21 | Tidy up keys: use an enum for the key codes, and remove the macros which just | Nicholas Marriott | |
wrap flag sets/clears/tests. | |||
2009-07-14 | Add backspace key to named keys. | Nicholas Marriott | |