aboutsummaryrefslogtreecommitdiff
path: root/input.c
Commit message (Collapse)AuthorAge
...
* All these return values from utf8_* are confusing, use an enum.nicm2015-11-14
|
* Be more strict about invalid UTF-8.nicm2015-11-14
|
* Log more of UTF-8 input.nicm2015-11-14
|
* Long overdue change to the way we store cells in the grid: now, insteadnicm2015-11-13
| | | | | | | | | | | | | | | of storing a full grid_cell with UTF-8 data and everything, store a new type grid_cell_entry. This can either be the cell itself (for ASCII cells), or an offset into an extended array (per line) for UTF-8 data. This avoid a large (8 byte) overhead on non-UTF-8 cells (by far the majority for most users) without the complexity of the shadow array we had before. Grid memory without any UTF-8 is about half. The disadvantage that cells can no longer be modified in place and need to be copied out of the grid and back but it turned out to be lot less complicated than I expected.
* Nuke the utf8 and status-utf8 options and make tmux only a UTF-8nicm2015-11-12
| | | | | 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-27
|
* Log pane which received input data.nicm2015-09-02
|
* Tweak some error messages/comments.nicm2015-09-01
|
* Log the whole new input buffer once rather than each byte.nicm2015-09-01
|
* Move alerts onto events rather than checking every loop.nicm2015-08-29
|
* Only do the automatic-rename dance if the pane has changed (seen output,nicm2015-08-28
| | | | or new active pane).
* When searching for tabs, start from screen width, fixes out-of-boundsnicm2015-08-25
| | | | read found by Kuang-che Wu.
* Reset G0/G1 state when resetting everything else with send-keys -R.nicm2015-07-13
|
* Add window_activity format, from Thomas Adam based on a diff originallynicm2015-06-15
| | | | from propos6 at gmail dot com.
* Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)nicm2015-06-05
| | | | like xterm(1) does, by mapping to the nearest in the 256 colour palette.
* teminal -> terminal, from Corey Farwell.nicm2015-06-04
|
* Missing t at end of response, from Vincent Bernat.nicm2015-06-01
|
* Remove the c0-* options which never really worked satisfactorily. Goingnicm2015-05-11
| | | | to try something else...
* Move input parser structs into input.c (removing fairly uselessnicm2015-05-08
| | | | saved_cursor_[xy] formats as a side-effect).
* Fix some format specifier nits, from Ben Boeckel.nicm2015-03-31
|
* Support blinking cursor mode, both the xterm CSI ?12 h/l and (thenicm2015-01-20
| | | | backwards) screen CSI 34 h/l. From Guanpeng Xu.
* Add xreallocarray and remove nmemb argument from xrealloc.nicm2014-10-08
|
* Remove support for the continuous reporting "any" mouse mode which nevernicm2014-08-09
| | | | really worked properly and is rarely used.
* Properly track switching G0 and G1 modes between US-ASCII and VT100 linenicm2014-06-06
| | | | drawing rather than just treating them as SO and SI.
* 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.
* 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.
* 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).
* Do not allow cursor colours to be set beginning with ? as that willNicholas Marriott2013-01-17
| | | | report the colour, from Hayaki Saito.
* Implement ECH (erase character, CSI X). Reported by Christian Neukirchen.Nicholas Marriott2013-01-15
|
* Support the 47 and 1047 SM and RM sequences (alternate screen withoutNicholas Marriott2012-11-27
| | | | cursor), requested by I forget who ages ago.
* 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
|