summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Support xterm(1) cursor colour change sequences through terminfo(5) Ccnicm2011-05-201-8/+30
| | | | | (set) and Cr (reset) extensions. Originally by Sean Estabrooks, tweaked by me and Ailin Nemui.
* Support passing through escape sequences to the underlying terminal bynicm2011-03-071-24/+49
| | | | | | | | | | using DCS with a "tmux;" prefix. Escape characters in the sequences must be doubled. For example: $ printf '\033Ptmux;\033\033]12;red\007\033\\' Will pass \033]12;red\007 to the terminal (and change the cursor colour in xterm). From Kevin Goodsell.
* Fix a typo that meant we did not reset the background colour when it wasnicm2011-03-031-2/+2
| | | | omitted in a 256-colour SGR ([48;5m). From Yusuke ENDOH.
* Use input_clear to reset the APC, DCS, OSC state or it could be reusednicm2011-01-281-5/+8
| | | | improperly by a later state. From Kevin Goodsell.
* Mouse highlight mode (1001) requires a program to cooperate sonicm2011-01-151-5/+1
| | | | supporting it through tmux is not as easy as this, remove it for now.
* Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262nicm2011-01-031-1/+7
| | | | | | | | | | and supports larger terminals than the older way. If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all UTF-8 terminals. The option defaults to on if LANG etc are set in the same manner as the utf8 option. With help and based on code from hsim at gmx.li.
* Support all four of the xterm mouse modes. Based on a diff from hsim atnicm2010-12-291-4/+19
| | | | gmx.li.
* Style tweaks.nicm2010-12-231-6/+6
|
* Add an option to alert (monitor) for silence (lack of activity) in anicm2010-12-061-1/+3
| | | | window. From Thomas Adam.
* Fix typo in escape state table leading to fatal() when \033} or \033~nicm2010-04-171-2/+2
| | | | was entered, from Chris Johnsen.
* New input parser based on http://vt100.net/emu/dec_ansi_parser.nicm2010-03-221-1146/+1137
|
* Add an option to disable the smcup/rmcup alternate screen behaviour insidenicm2010-02-081-1/+7
| | | | tmux. From clemens fischer.
* Correctly clear 256-colour flag for aixterm colours.nicm2010-01-061-1/+3
|
* Pass through the aixterm bright colours if the terminal supports them (>= 16nicm2009-12-141-5/+3
| | | | colours).
* Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastnicm2009-12-031-10/+10
| | | | | time now I've configured emacs to make them displayed in really annoying colours...
* Add a couple of comments.nicm2009-11-271-1/+2
|