aboutsummaryrefslogtreecommitdiff
path: root/input.c
Commit message (Collapse)AuthorAge
* Limit range of repeat to avoid silly high numbers causing delays, fromnicm2020-10-30
| | | | Sergey Nizovtsev.
* Do not write after the end of the array and overwrite the stack whennicm2020-10-29
| | | | | colon-separated SGR sequences contain empty arguments. Reported by Sergey Nizovtsev.
* Respond to colour requests if a colour is available, from Michal Goral.nicm2020-08-19
|
* Add a hook when the pane title changed.nicm2020-07-24
|
* d and D keys to reset to default in customize mode.nicm2020-06-16
|
* Instead of sending all data to control mode clients as fast as possible,nicm2020-06-01
| | | | | | add a limit of how much data will be sent to the client and try to use it for panes with some degree of fairness. GitHub issue 2217, with George Nachman.
* Support code for control mode flow control: allow clients to havenicm2020-05-21
| | | | | | separate offsets (used and acknowleged) into the pane buffers; turn off reading from panes when no clients can accept the data; and add a -A flag to refresh-client to let clients turn receiving a pane on and off.
* 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.
* Do not hoke into struct window_pane from the tty code and instead setnicm2020-05-16
| | | | | | | everything up in tty_ctx. Provide a way to initialize the tty_ctx from a callback and use it to let popups draw directly through input_parse in the same way as panes do, rather than forcing a full redraw on every change.
* Drop having a separate type for style options and make them all strings,nicm2020-05-16
| | | | | | | | | | | | | | | | | which allows formats to be expanded. Any styles without a '#{' are still validated when they are set but any with a '#{' are not. Formats are not expanded usefully in many cases yet, that will be changed later. To make this work, a few other changes: - set-option -a with a style option automatically appends a ",". - OSC 10 and 11 don't set the window-style option anymore, instead the fg and bg are stored in the pane struct and act as the defaults that can be overridden by window-style. - status-fg and -bg now override status-style instead of trying to keep them in sync.
* Remove support for iTerm2's DSR 1337 extension and use the CSI > qnicm2020-05-16
| | | | extension now supported by a few different terminals.
* Do not remove the automatic-rename option from the global set, only fromnicm2020-04-30
| | | | | the window (it must stay in the global set or tmux will crash). GitHub issue 2188.
* Move alternate screen into the screen rather than the pane.nicm2020-03-31
|
* Change input path so it doesn't require a pane.nicm2020-03-19
|
* Instead of passing titles through vis() which doubles backslashes, justnicm2020-02-03
| | | | ignore any containing control characters or invalid UTF-8. GitHub issue 2070.
* Do not send DA and DSR again if already have a response.nicm2020-01-29
|
* Add support for the iTerm2 DSR 1337 sequence to get the terminal version.nicm2020-01-28
|
* Bump the escape sequence timeout to five seconds to allow for longernicm2019-11-28
| | | | legitimate sequences.
* Do not add path if it is NULL, duh.nicm2019-11-15
|
* Handle OSC 7 (a VTE extension) and put the result in a new format (pane_path).nicm2019-11-15
|
* Change new-session -A without a session name (that is, no -s optionnicm2019-11-14
| | | | | also) to attach to the best existing session like attach-session rather than creating a new one.
* Handle the various different forms of rgb colour strings.nicm2019-11-01
|
* Turn automatic-rename back on if the rename escape sequence is used withnicm2019-10-14
| | | | an empty name, GitHub issue 1921.
* Style and line length nits.nicm2019-09-25
|
* Some minor performance improvements - most notably, don't search thenicm2019-09-24
| | | | input state table if the next character matches the same state as before.
* Add support for the SD (scroll down) escape sequence, GitHub issue 1861.nicm2019-08-05
|
* Add support for underscore colours with Setulc capability, mostly fromnicm2019-06-27
| | | | Kai Moschcau.
* allow-rename and alternate-screen can be pane options.nicm2019-06-20
|
* Add a per-pane option set. Pane options inherit from window options (sonicm2019-06-20
| | | | | | | | | | | | there should be no change to existing behaviour) and are set and shown with set-option -p and show-options -p. Change remain-on-exit and window-style/window-active-style to be pane options (some others will be changed later). This makes select-pane -P and -g unnecessary so no longer document them (they still work) and no longer document set-window-option and show-window-options in favour of set-option -w and show-options -w.
* Remove a leftover abort and some fixes from cppcheck.nicm2019-05-30
|
* Fix the color space parameter in RGB SGR, from Brad Town.nicm2019-05-20
|
* Add support for overline (SGR 53), from Ricardo Banffy.nicm2019-05-13
|
* Do not use evbuffer_add_buffer because it is destructive and doesn'tnicm2019-05-07
| | | | work in newer libevent.
* Allow panes to be empty (no command), output can be piped to them withnicm2019-05-03
| | | | split-window or display-message -I.
* Add an argument to copy commands to set the prefix for the buffer name,nicm2019-04-02
| | | | allows buffers for different sessions to be named separately.
* Add a wrapper (struct style) around styles rather than using thenicm2019-03-14
| | | | grid_cell directly. There will be some non-cell members soon.
* Add actual HPA (\033[`), the existing one is CHA. From Marc Reisner.nicm2019-03-14
|
* Do not use origin for VPA.nicm2019-03-13
|
* DECRC and DECSC apparently need to preserve origin mode as well, basednicm2019-03-12
| | | | on a fix from Marc Reisner.
* Fix HPA in origin mode.nicm2019-03-12
|
* Tidy up a lot of &ictx->ctx by using a local variable.nicm2019-03-12
|
* Revert to not clearing history on RIS, apparently some bootloaders sendnicm2019-03-12
| | | | this and it doesn't really do any harm.
* Allow multiple modes to be open in a pane. A stack of open modes is keptnicm2019-03-12
| | | | | | and the previous restored when the top is exited. If a mode that is already on the stack is entered, the existing instance is moved to the top as the active mode rather than being opened new.
* Add support for origin mode (DECOM, SM/RM ?6), from Marc Reisner.nicm2019-03-12
|
* Fix parsing of empty colon-separated fields, reported by Siarhei Siniak.nicm2018-12-17
|
* evbuffer_new and bufferevent_new can both fail (when malloc fails) andnicm2018-11-19
| | | | return NULL. GitHub issue 1547.
* Support OSC 52 ? to read the top buffer inside tmux (when set-clipboardnicm2018-10-18
| | | | | | is changed to on), also add refresh-client -l to ask tmux to use the same mechanism to get the clipboard from the terminal outside tmux. GitHub issue 1477.
* Support for extended underline styles on terminals which offer them,nicm2018-10-18
| | | | | enabled by adding the Smulx capability with terminal-overrides (add something like ',vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492.
* Add the KEYC_XTERM flag to all function keys that imply a modifier sonicm2018-08-16
| | | | | that they are correctly translated into xterm(1)-style keys. GitHub issue 1437.
* Clear history on RIS like most other terminals do.nicm2018-07-31
|