summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reduce len when moving past spaces in OSC 11 parameter.nicm2021-02-181-2/+4
|
* Make SGR 6 (rapid blink) the same as SGR 5 (blink) and make SGR 21 tonicm2021-02-151-1/+6
| | | | the same as SGR 4:2, it is an old alternative. GitHub issue 2567.
* Support X11 colour names and some other variations for OSC 10/11, alsonicm2021-02-151-54/+85
| | | | add OSC 110 and 111. GitHub issue 2567.
* Limit range of repeat to avoid silly high numbers causing delays, fromnicm2020-10-301-1/+5
| | | | Sergey Nizovtsev.
* Do not write after the end of the array and overwrite the stack whennicm2020-10-291-2/+7
| | | | | 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-191-9/+37
|
* Add a hook when the pane title changed.nicm2020-07-241-1/+4
|
* d and D keys to reset to default in customize mode.nicm2020-06-161-5/+5
|
* Instead of sending all data to control mode clients as fast as possible,nicm2020-06-011-2/+2
| | | | | | 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-211-5/+6
| | | | | | 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-161-2/+19
| | | | | | | 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-161-26/+13
| | | | | | | 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-161-14/+17
| | | | | | | | | | | | | | | | | 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-161-9/+9
| | | | extension now supported by a few different terminals.
* Do not remove the automatic-rename option from the global set, only fromnicm2020-04-301-2/+2
| | | | | 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-311-1/+9
|
* Detach reply escape sequences from the pane so they work in popups.nicm2020-03-311-15/+13
|
* Change input path so it doesn't require a pane.nicm2020-03-191-76/+126
|
* Instead of passing titles through vis() which doubles backslashes, justnicm2020-02-031-8/+4
| | | | 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-291-1/+2
|
* Add support for the iTerm2 DSR 1337 sequence to get the terminal version.nicm2020-01-281-1/+10
|
* Bump the escape sequence timeout to five seconds to allow for longernicm2019-11-281-2/+2
| | | | legitimate sequences.
* Do not add path if it is NULL, duh.nicm2019-11-151-2/+1
|
* Handle OSC 7 (a VTE extension) and put the result in a new format (pane_path).nicm2019-11-151-1/+8
|
* Change new-session -A without a session name (that is, no -s optionnicm2019-11-141-2/+2
| | | | | 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-011-5/+59
|
* Turn automatic-rename back on if the rename escape sequence is used withnicm2019-10-141-1/+11
| | | | an empty name, GitHub issue 1921.
* Style and line length nits.nicm2019-09-251-2/+3
|
* Some minor performance improvements - most notably, don't search thenicm2019-09-241-11/+18
| | | | 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-051-1/+8
|
* Add support for underscore colours with Setulc capability, mostly fromnicm2019-06-271-3/+10
| | | | Kai Moschcau.
* allow-rename and alternate-screen can be pane options.nicm2019-06-201-2/+2
|
* Add a per-pane option set. Pane options inherit from window options (sonicm2019-06-201-7/+11
| | | | | | | | | | | | 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-301-2/+1
|
* Fix the color space parameter in RGB SGR, from Brad Town.nicm2019-05-201-12/+14
|
* Add support for overline (SGR 53), from Ricardo Banffy.nicm2019-05-131-1/+7
|
* Do not use evbuffer_add_buffer because it is destructive and doesn'tnicm2019-05-071-13/+14
| | | | work in newer libevent.
* Allow panes to be empty (no command), output can be piped to them withnicm2019-05-031-1/+3
| | | | split-window or display-message -I.
* Add an argument to copy commands to set the prefix for the buffer name,nicm2019-04-021-2/+2
| | | | allows buffers for different sessions to be named separately.
* Add a wrapper (struct style) around styles rather than using thenicm2019-03-141-3/+3
| | | | 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-141-3/+4
|
* Do not use origin for VPA.nicm2019-03-131-3/+3
|
* DECRC and DECSC apparently need to preserve origin mode as well, basednicm2019-03-121-18/+39
| | | | on a fix from Marc Reisner.
* Fix HPA in origin mode.nicm2019-03-121-3/+3
|
* Tidy up a lot of &ictx->ctx by using a local variable.nicm2019-03-121-71/+80
|
* Revert to not clearing history on RIS, apparently some bootloaders sendnicm2019-03-121-2/+1
| | | | 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-121-3/+3
| | | | | | 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-121-1/+9
|
* Fix parsing of empty colon-separated fields, reported by Siarhei Siniak.nicm2018-12-171-2/+3
|
* evbuffer_new and bufferevent_new can both fail (when malloc fails) andnicm2018-11-191-1/+3
| | | | return NULL. GitHub issue 1547.