summaryrefslogtreecommitdiffstats
path: root/input.c
AgeCommit message (Collapse)Author
2014-01-31Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile cmd-server-info.c cmd-start-server.c
2014-01-31Add \033[18t window operations from J Raynor.nicm
2013-10-10Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff fromnicm
Hayaki Saito.
2013-08-19Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff from HayakiNicholas Marriott
Saito.
2013-06-28Always push a focus event when the application turns it on, prompted byNicholas Marriott
discussion with Hayaki Saito a while ago.
2013-06-23Always push a focus event when the application turns it on, prompted byNicholas Marriott
discussion with Hayaki Saito a while ago.
2013-03-24Add support for focus notifications when tmux pane changes, based onNicholas Marriott
work by Aaron Jensen.
2013-03-22Implement DECAWM (SM/RM 7) using existing MODE_WRAP flag.Nicholas Marriott
2013-03-22Support the latest theory for mouse input, this is enabled/disabled withNicholas Marriott
SM/RM 1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger.
2013-03-21Instead of loads of little screen_write_*_on and off functions whichNicholas Marriott
just change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
2013-02-22Add support for focus notifications when tmux pane changes, based on work byNicholas Marriott
Aaron Jensen.
2013-02-18Implement DECAWM (SM/RM 7) using existing MODE_WRAP flag.Nicholas Marriott
2013-02-18Support the latest theory for mouse input, this is enabled/disabled with SM/RMNicholas Marriott
1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger.
2013-02-17Instead of loads of little screen_write_*_on and off functions which justNicholas Marriott
change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
2013-01-30Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile grid-utf8.c
2013-01-18Rather than having two grids for each pane, one for ASCII and one forNicholas Marriott
UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later).
2013-01-17Merge branch 'obsd-master'Thomas Adam
2013-01-17Do not allow cursor colours to be set beginning with ? as that willNicholas Marriott
report the colour, from Hayaki Saito.
2013-01-17Merge branch 'obsd-master'Thomas Adam
2013-01-15Implement ECH (erase character, CSI X). Reported by Christian Neukirchen.Nicholas Marriott
2012-11-27Merge branch 'obsd-master'Thomas Adam
Sync from OpenBSD.
2012-11-27Support the 47 and 1047 SM and RM sequences (alternate screen withoutNicholas Marriott
cursor), requested by I forget who ages ago.
2012-09-25Merge branch 'obsd-master'Thomas Adam
Sync from OpenBSD.
2012-09-25Add notification for input from a pane, from George Nachman.Nicholas Marriott
2012-07-11Sync OpenBSD patchset 1150:Tiago Cunha
xfree is not particularly helpful, remove it. From Thomas Adam.
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-05-03Sync OpenBSD patchset 1102:Tiago Cunha
Add a buffer with all input from last ground state, will be used for control mode. From George Nachman.
2012-04-25Add a buffer with all input from last ground state, will be used forNicholas Marriott
control mode. From George Nachman.
2012-03-29Sync OpenBSD patchset 1072:Tiago Cunha
Add a simple form of output rate limiting by counting the number of 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.
2012-03-20Add a simple form of output rate limiting by counting the number ofNicholas Marriott
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.
2012-03-18Sync OpenBSD patchset 1053:Tiago Cunha
Respond to secondary DA requests.
2012-03-15Respond to secondary DA requests.Nicholas Marriott
2012-03-07Sync OpenBSD patchset 1037:Tiago Cunha
Support "bracketed paste" mode. This adds a -p flag to paste-buffer - if 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.
2012-03-03Support "bracketed paste" mode. This adds a -p flag to paste-buffer - ifNicholas Marriott
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.
2012-02-02Sync OpenBSD patchset 1024:Tiago Cunha
Move window name changes into wrapper function window_set_name, from George Nachman.
2012-02-02Move window name changes into wrapper function window_set_name, fromNicholas Marriott
George Nachman.
2012-01-21Sync OpenBSD patchset 1006:Tiago Cunha
Add strings to allow the aixterm bright colours to be used when configuring colours, requested by Elliott Cable a few months ago.
2012-01-21Sync OpenBSD patchset 1005:Tiago Cunha
One day I will actually fix ALL the warnings before I commit...
2012-01-21Sync OpenBSD patchset 1004:Tiago Cunha
Add a -R flag to send-keys to reset the terminal. Written ages ago and Suggested by someone, I forget who.
2012-01-21Add strings to allow the aixterm bright colours to be used whenNicholas Marriott
configuring colours, requested by Elliott Cable a few months ago.
2012-01-21One day I will actually fix ALL the warnings before I commit...Nicholas Marriott
2012-01-21Add a -R flag to send-keys to reset the terminal. Written ages ago andNicholas Marriott
Suggested by someone, I forget who.
2012-01-20Sync OpenBSD patchset 999:Tiago Cunha
Add an option to disable the window rename escape sequence, from Romain Francoise.
2012-01-20Add an option to disable the window rename escape sequence, from RomainNicholas Marriott
Francoise.
2011-12-30Sync OpenBSD patchset 994:Tiago Cunha
Add CNL and CPL escape sequences.
2011-12-30Sync OpenBSD patchset 992:Tiago Cunha
Add \033[s and \033[u to save and restore cursor position.
2011-12-29Add CNL and CPL escape sequences.Nicholas Marriott
2011-12-27Add \033[s and \033[u to save and restore cursor position.Nicholas Marriott
2011-10-23Sync OpenBSD patchset 969:Tiago Cunha
Support for \e[3J to clear the history. Also send the corresponding terminfo code (E3) before locking.
2011-10-23Support for \e[3J to clear the history. Also send the correspondingNicholas Marriott
terminfo code (E3) before locking.