aboutsummaryrefslogtreecommitdiff
path: root/input.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master'Thomas Adam2014-04-23
|\ | | | | | | | | | | | | Conflicts: Makefile tmux.1 window.c
| * Don't limit the DCS buffer to 256 bytes, expand it as needed. Requestednicm2014-04-17
| | | | | | | | by Suraj Kurapati.
| * Change secondary device attributes response to \033[>84;0;0c which isnicm2014-03-31
| | | | | | | | unique for tmux.
* | Change secondary device attributes response to \033[>84;0;0c which is uniqueNicholas Marriott2014-02-26
| | | | | | | | for tmux.
* | Merge branch 'obsd-master'Thomas Adam2014-01-31
|\| | | | | | | | | | | | | Conflicts: Makefile cmd-server-info.c cmd-start-server.c
| * Add \033[18t window operations from J Raynor.nicm2014-01-31
| |
| * Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff fromnicm2013-10-10
| | | | | | | | Hayaki Saito.
| * Always push a focus event when the application turns it on, prompted byNicholas Marriott2013-06-23
| | | | | | | | discussion with Hayaki Saito a while ago.
| * Add support for focus notifications when tmux pane changes, based onNicholas Marriott2013-03-24
| | | | | | | | work by Aaron Jensen.
| * Implement DECAWM (SM/RM 7) using existing MODE_WRAP flag.Nicholas Marriott2013-03-22
| |
| * Support the latest theory for mouse input, this is enabled/disabled withNicholas Marriott2013-03-22
| | | | | | | | | | 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 whichNicholas Marriott2013-03-21
| | | | | | | | | | just change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
* | Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff from HayakiNicholas Marriott2013-08-19
| | | | | | | | Saito.
* | Always push a focus event when the application turns it on, prompted byNicholas Marriott2013-06-28
| | | | | | | | discussion with Hayaki Saito a while ago.
* | Add support for focus notifications when tmux pane changes, based on work byNicholas Marriott2013-02-22
| | | | | | | | Aaron Jensen.
* | Implement DECAWM (SM/RM 7) using existing MODE_WRAP flag.Nicholas Marriott2013-02-18
| |
* | Support the latest theory for mouse input, this is enabled/disabled with SM/RMNicholas Marriott2013-02-18
| | | | | | | | | | 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 which justNicholas Marriott2013-02-17
| | | | | | | | change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
* | Merge branch 'obsd-master'Thomas Adam2013-01-30
|\| | | | | | | | | | | Conflicts: Makefile grid-utf8.c
| * Rather than having two grids for each pane, one for ASCII and one forNicholas Marriott2013-01-18
| | | | | | | | | | UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later).
* | Merge branch 'obsd-master'Thomas Adam2013-01-17
|\|
| * Do not allow cursor colours to be set beginning with ? as that willNicholas Marriott2013-01-17
| | | | | | | | report the colour, from Hayaki Saito.
* | Merge branch 'obsd-master'Thomas Adam2013-01-17
|\|
| * Implement ECH (erase character, CSI X). Reported by Christian Neukirchen.Nicholas Marriott2013-01-15
| |
* | Merge branch 'obsd-master'Thomas Adam2012-11-27
|\| | | | | | | Sync from OpenBSD.
| * Support the 47 and 1047 SM and RM sequences (alternate screen withoutNicholas Marriott2012-11-27
| | | | | | | | cursor), requested by I forget who ages ago.
* | Merge branch 'obsd-master'Thomas Adam2012-09-25
|\| | | | | | | Sync from OpenBSD.
| * Add notification for input from a pane, from George Nachman.Nicholas Marriott2012-09-25
| |
| * xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott2012-07-10
| |
| * Add a buffer with all input from last ground state, will be used forNicholas Marriott2012-04-25
| | | | | | | | control mode. From George Nachman.
| * Add a simple form of output rate limiting by counting the number ofNicholas Marriott2012-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.Nicholas Marriott2012-03-15
| |
| * Support "bracketed paste" mode. This adds a -p flag to paste-buffer - ifNicholas Marriott2012-03-03
| | | | | | | | | | | | | | 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, fromNicholas Marriott2012-02-02
| | | | | | | | George Nachman.
| * Add strings to allow the aixterm bright colours to be used whenNicholas Marriott2012-01-21
| | | | | | | | configuring colours, requested by Elliott Cable a few months ago.
| * One day I will actually fix ALL the warnings before I commit...Nicholas Marriott2012-01-21
| |
| * Add a -R flag to send-keys to reset the terminal. Written ages ago andNicholas Marriott2012-01-21
| | | | | | | | Suggested by someone, I forget who.
| * Add an option to disable the window rename escape sequence, from RomainNicholas Marriott2012-01-20
| | | | | | | | Francoise.
| * Add CNL and CPL escape sequences.Nicholas Marriott2011-12-29
| |
| * Add \033[s and \033[u to save and restore cursor position.Nicholas Marriott2011-12-27
| |
| * Support for \e[3J to clear the history. Also send the correspondingNicholas Marriott2011-10-23
| | | | | | | | terminfo code (E3) before locking.
| * Fix a couple of comments.Nicholas Marriott2011-07-08
| |
| * Support DECSCUSR sequence to set the cursor style with two newNicholas Marriott2011-05-20
| | | | | | | | terminfo(5) extensions, Cs and Csr. Written by Ailin Nemui.
| * Support xterm(1) cursor colour change sequences through terminfo(5) CcNicholas Marriott2011-05-20
| | | | | | | | | | (set) and Cr (reset) extensions. Originally by Sean Estabrooks, tweaked by me and Ailin Nemui.
| * Support passing through escape sequences to the underlying terminal byNicholas Marriott2011-03-07
| | | | | | | | | | | | | | | | | | | | 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 wasNicholas Marriott2011-03-03
| | | | | | | | 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 reusedNicholas Marriott2011-01-28
| | | | | | | | improperly by a later state. From Kevin Goodsell.
| * Mouse highlight mode (1001) requires a program to cooperate soNicholas Marriott2011-01-15
| | | | | | | | 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 262Nicholas Marriott2011-01-03
| | | | | | | | | | | | | | | | | | | | 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 atNicholas Marriott2010-12-29
| | | | | | | | gmx.li.