summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Nuke the utf8 and status-utf8 options and make tmux only a UTF-8nicm2015-11-121-6/+1
| | | | | terminal. We still support non-UTF-8 terminals outside tmux, but inside it is always UTF-8 (as when the utf8 and status-utf8 options were on).
* Move struct options into options.c.nicm2015-10-271-4/+4
|
* Log pane which received input data.nicm2015-09-021-3/+3
|
* Tweak some error messages/comments.nicm2015-09-011-2/+2
|
* Log the whole new input buffer once rather than each byte.nicm2015-09-011-3/+5
|
* Move alerts onto events rather than checking every loop.nicm2015-08-291-8/+3
|
* Only do the automatic-rename dance if the pane has changed (seen output,nicm2015-08-281-1/+3
| | | | or new active pane).
* When searching for tabs, start from screen width, fixes out-of-boundsnicm2015-08-251-4/+9
| | | | read found by Kuang-che Wu.
* Reset G0/G1 state when resetting everything else with send-keys -R.nicm2015-07-131-5/+2
|
* Add window_activity format, from Thomas Adam based on a diff originallynicm2015-06-151-1/+5
| | | | from propos6 at gmail dot com.
* Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)nicm2015-06-051-24/+69
| | | | like xterm(1) does, by mapping to the nearest in the 256 colour palette.
* teminal -> terminal, from Corey Farwell.nicm2015-06-041-2/+2
|
* Missing t at end of response, from Vincent Bernat.nicm2015-06-011-2/+2
|
* Remove the c0-* options which never really worked satisfactorily. Goingnicm2015-05-111-14/+4
| | | | to try something else...
* Move input parser structs into input.c (removing fairly uselessnicm2015-05-081-8/+87
| | | | saved_cursor_[xy] formats as a side-effect).
* Fix some format specifier nits, from Ben Boeckel.nicm2015-03-311-2/+2
|
* Support blinking cursor mode, both the xterm CSI ?12 h/l and (thenicm2015-01-201-1/+13
| | | | backwards) screen CSI 34 h/l. From Guanpeng Xu.
* Add xreallocarray and remove nmemb argument from xrealloc.nicm2014-10-081-3/+3
|
* Remove support for the continuous reporting "any" mouse mode which nevernicm2014-08-091-6/+1
| | | | really worked properly and is rarely used.
* Properly track switching G0 and G1 modes between US-ASCII and VT100 linenicm2014-06-061-43/+61
| | | | drawing rather than just treating them as SO and SI.
* Reset properly when c0-change-trigger is increased from zero so panesnicm2014-06-051-2/+2
| | | | don't get stuck.
* Don't limit the DCS buffer to 256 bytes, expand it as needed. Requestednicm2014-04-171-16/+41
| | | | by Suraj Kurapati.
* Change secondary device attributes response to \033[>84;0;0c which isnicm2014-03-311-2/+2
| | | | unique for tmux.
* Add \033[18t window operations from J Raynor.nicm2014-01-311-2/+57
|
* Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff fromnicm2013-10-101-53/+100
| | | | Hayaki Saito.
* Always push a focus event when the application turns it on, prompted bynicm2013-06-231-2/+2
| | | | discussion with Hayaki Saito a while ago.
* Add support for focus notifications when tmux pane changes, based onnicm2013-03-241-1/+10
| | | | work by Aaron Jensen.
* Implement DECAWM (SM/RM 7) using existing MODE_WRAP flag.nicm2013-03-221-1/+7
|
* Support the latest theory for mouse input, this is enabled/disabled withnicm2013-03-221-1/+7
| | | | | SM/RM 1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger.
* Instead of loads of little screen_write_*_on and off functions whichnicm2013-03-211-19/+20
| | | | | just change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
* Rather than having two grids for each pane, one for ASCII and one fornicm2013-01-181-6/+5
| | | | | UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later).
* Do not allow cursor colours to be set beginning with ? as that willnicm2013-01-171-3/+4
| | | | report the colour, from Hayaki Saito.
* Implement ECH (erase character, CSI X). Reported by Christian Neukirchen.nicm2013-01-151-1/+6
|
* Support the 47 and 1047 SM and RM sequences (alternate screen withoutnicm2012-11-271-3/+11
| | | | cursor), requested by I forget who ages ago.
* Add notification for input from a pane, from George Nachman.nicm2012-09-251-1/+2
|
* xfree is not particularly helpful, remove it. From Thomas Adam.nicm2012-07-101-2/+2
|
* Add a buffer with all input from last ground state, will be used fornicm2012-04-251-9/+32
| | | | control mode. From George Nachman.
* Add a simple form of output rate limiting by counting the number ofnicm2012-03-201-4/+14
| | | | | | | | | | | | | | | | | | certain C0 sequences (linefeeds, backspaces, carriage returns) and if it exceeds a threshold (current default 50/millisecond), start to redraw the pane every 100 milliseconds instead of making each change as it comes. Two configuration options - c0-change-trigger and c0-change-interval. This makes tmux much more responsive under very fast output (for example yes(1) or accidentally cat'ing a large file) but may not be perfect on all terminals and connections - feedback very welcome, particularly where this change has a negative rather than positive effect (making it off by default is a possibility). After much experimentation based originally on a request Robin Lee Powell (which ended with a completely different solution), this idea from discussion with Ailin Nemui.
* Respond to secondary DA requests.nicm2012-03-151-1/+13
|
* Support "bracketed paste" mode. This adds a -p flag to paste-buffer - ifnicm2012-03-031-1/+7
| | | | | | | this is used and the application has requested bracketed pastes, then tmux surrounds the pasted text by \033[200~ and \033[201~. Applications like vim can (apparently) use this to avoid, for example, indenting the text. From Ailin Nemui.
* Move window name changes into wrapper function window_set_name, fromnicm2012-02-021-3/+2
| | | | George Nachman.
* Add strings to allow the aixterm bright colours to be used whennicm2012-01-211-2/+2
| | | | configuring colours, requested by Elliott Cable a few months ago.
* One day I will actually fix ALL the warnings before I commit...nicm2012-01-211-2/+2
|
* Add a -R flag to send-keys to reset the terminal. Written ages ago andnicm2012-01-211-12/+2
| | | | Suggested by someone, I forget who.
* Add an option to disable the window rename escape sequence, from Romainnicm2012-01-201-1/+3
| | | | Francoise.
* Add CNL and CPL escape sequences.nicm2011-12-291-1/+13
|
* Add \033[s and \033[u to save and restore cursor position.nicm2011-12-271-1/+14
|
* Support for \e[3J to clear the history. Also send the correspondingnicm2011-10-231-1/+12
| | | | terminfo code (E3) before locking.
* Fix a couple of comments.nicm2011-07-081-3/+3
|
* Support DECSCUSR sequence to set the cursor style with two newnicm2011-05-201-1/+7
| | | | terminfo(5) extensions, Cs and Csr. Written by Ailin Nemui.