summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/input.c
AgeCommit message (Collapse)Author
2019-08-05Add support for the SD (scroll down) escape sequence, GitHub issue 1861.Nicholas Marriott
2019-06-27Add support for underscore colours with Setulc capability, mostly fromNicholas Marriott
Kai Moschcau.
2019-06-20allow-rename and alternate-screen can be pane options.Nicholas Marriott
2019-06-20Add a per-pane option set. Pane options inherit from window options (soNicholas Marriott
there should be no change to existing behaviour) and are set and shown with set-option -p and show-options -p. Change remain-on-exit and window-style/window-active-style to be pane options (some others will be changed later). This makes select-pane -P and -g unnecessary so no longer document them (they still work) and no longer document set-window-option and show-window-options in favour of set-option -w and show-options -w.
2019-05-30Remove a leftover abort and some fixes from cppcheck.Nicholas Marriott
2019-05-20Fix the color space parameter in RGB SGR, from Brad Town.Nicholas Marriott
2019-05-13Add support for overline (SGR 53), from Ricardo Banffy.Nicholas Marriott
2019-05-07Do not use evbuffer_add_buffer because it is destructive and doesn'tNicholas Marriott
work in newer libevent.
2019-05-03Allow panes to be empty (no command), output can be piped to them withNicholas Marriott
split-window or display-message -I.
2019-04-02Add an argument to copy commands to set the prefix for the buffer name,Nicholas Marriott
allows buffers for different sessions to be named separately.
2019-03-14Add a wrapper (struct style) around styles rather than using theNicholas Marriott
grid_cell directly. There will be some non-cell members soon.
2019-03-14Add actual HPA (\033[`), the existing one is CHA. From Marc Reisner.Nicholas Marriott
2019-03-13Do not use origin for VPA.Nicholas Marriott
2019-03-12DECRC and DECSC apparently need to preserve origin mode as well, basedNicholas Marriott
on a fix from Marc Reisner.
2019-03-12Fix HPA in origin mode.Nicholas Marriott
2019-03-12Tidy up a lot of &ictx->ctx by using a local variable.Nicholas Marriott
2019-03-12Revert to not clearing history on RIS, apparently some bootloaders sendNicholas Marriott
this and it doesn't really do any harm.
2019-03-12Allow multiple modes to be open in a pane. A stack of open modes is keptNicholas Marriott
and the previous restored when the top is exited. If a mode that is already on the stack is entered, the existing instance is moved to the top as the active mode rather than being opened new.
2019-03-12Add support for origin mode (DECOM, SM/RM ?6), from Marc Reisner.Nicholas Marriott
2018-12-17Fix parsing of empty colon-separated fields, reported by Siarhei Siniak.Nicholas Marriott
2018-11-19evbuffer_new and bufferevent_new can both fail (when malloc fails) andNicholas Marriott
return NULL. GitHub issue 1547.
2018-10-18Support OSC 52 ? to read the top buffer inside tmux (when set-clipboardNicholas Marriott
is changed to on), also add refresh-client -l to ask tmux to use the same mechanism to get the clipboard from the terminal outside tmux. GitHub issue 1477.
2018-10-18Support for extended underline styles on terminals which offer them,Nicholas Marriott
enabled by adding the Smulx capability with terminal-overrides (add something like ',vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492.
2018-08-16Add the KEYC_XTERM flag to all function keys that imply a modifier soNicholas Marriott
that they are correctly translated into xterm(1)-style keys. GitHub issue 1437.
2018-07-31Clear history on RIS like most other terminals do.Nicholas Marriott
2018-04-10A couple of fixes to the : form of SGR. Apparently there is an extraNicholas Marriott
argument that nobody knew about, so skip that if it exists. Also there are a bunch of useless optional arguments at the end, so ignore those.
2018-04-06Fix link, from Eliran Gonen.Nicholas Marriott
2018-03-05For some reason tmux treats SGR 10 as SGR 0. It has done since the firstNicholas Marriott
version and I'm not sure why since no other terminal appears to. Change to just ignore SGR 10 instead.
2018-02-19Support ISO colon-separated SGR.Nicholas Marriott
2018-01-12Simplify UTF-8 states down into one state.Nicholas Marriott
2017-10-05Add support for the xterm(1) title stack, from Brad Town, GitHub issueNicholas Marriott
1075.
2017-09-10Apply timeout to CAN and RS which also wait for ST.Nicholas Marriott
2017-08-29Support REP escape sequence (\033[b).Nicholas Marriott
2017-06-09Add a hook when the clipboard is set.Nicholas Marriott
2017-06-04Add a timeout to prevent the sequences which wait for a specificNicholas Marriott
terminator (OSC, APC and DCS) waiting forever, which helps to avoid garbage (cat /dev/random) locking up panes completely. This (and the last commit) prompted by a discussion with theo.
2017-06-04Be more strict about escape sequences that rename windows or set titles:Nicholas Marriott
ignore any that not valid UTF-8 outright, and for good measure pass the result through our UTF-8-aware vis(3).
2017-06-03Make set-clipboard a three-state option so tmux itself can ignore theNicholas Marriott
sequencess.
2017-05-28Support OSC 10 and 11 to set foreground and background colours, fromNicholas Marriott
"bertnp" in GitHub issue 942.
2017-05-12Scrolling needs to use background colour.Nicholas Marriott
2017-05-12ECH needs to use background colour.Nicholas Marriott
2017-04-22We need to collect UTF-8 characters so that width != 1 characters areNicholas Marriott
correctly flushed.
2017-03-22Add support for the strikethrough attribute (SGR 9), using the new smxxNicholas Marriott
terminfo capability. This means there are now nine attribute bits, so anything above 0xff uses an extended cell.
2017-02-19Add SGR 28 to clear hidden flag.Nicholas Marriott
2017-02-16There are buggy terminals out there that do not move the cursor to 0,0Nicholas Marriott
after CSR, so invalidate the cursor position rather than assuming 0,0.
2017-02-08Add support for scroll up escape sequence (CSI S) and use it whenNicholas Marriott
possible instead of sending individual line feeds.
2017-02-08Collect sequences of printable ASCII characters and process themNicholas Marriott
together instead of handling them one by one. This is significantly faster. Sequences are terminated when we reach the end of the line, fill the internal buffer, or a different character is seen by the input parser (an escape sequence, or UTF-8). Rather than writing collected sequences out immediately, hold them until it is necessary (another screen modification, or we consume all available data). This means we can discard changes that would have no effect (for example, lines that would just be scrolled off the screen or cleared). This reduces the total amount of data we write out to the terminal - not important for fast terminals, but a big help with slow (like xterm).
2017-02-08Some other tidying bits.Nicholas Marriott
2017-02-06Use DECFRA on VT420 compatible terminals (so, xterm) and ED on allNicholas Marriott
others for clearing panes.
2017-02-06Add BCE for clear to start of screen, which was somehow missed.Nicholas Marriott
2017-02-06Fix logging of CSI parameters.Nicholas Marriott