summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty-features.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use the setal capability as well as (tmux's) Setulc.nicm2020-10-051-2/+3
|
* Properly escape a backslash.daniel2020-07-181-3/+3
| | | | | | Found by CompCert which notes that \E is not a valid escape sequence. ok nicm@
* Shorten some long lines.nicm2020-06-041-6/+11
|
* Some other ctrl keys need to be translated with extended keys on.nicm2020-05-191-2/+2
|
* Add a terminal feature for enable/disable extended keys (supported bynicm2020-05-161-3/+16
| | | | | | | xterm and mintty) and add an option to make tmux send it. Only forward extended keys if the application has requested them, even though we use the CSI u sequence and xterm uses CSI 27 ~ - this is what mintty does as well.
* Instead of having a default set of terminals in terminal-overrides thatnicm2020-05-161-3/+2
| | | | | | | get XT added and using that as a marker for xterm(1)-like, assume that if the terminfo(5) entry already has XT or the clear capability starts with CSI then the terminal is VT100-like and it should be safe to send DA requests. The DA responses trigger additional features being added.
* Add feature and capabilities for focus reporting. Also document AX andnicm2020-05-161-24/+36
| | | | XT even though they aren't tmux's, and add some bits for rxvt.
* Add a feature for bracketed paste.nicm2020-05-161-6/+18
|
* Add a feature for strikethrough.nicm2020-05-161-5/+17
|
* Move terminal features into a single file.nicm2020-05-161-2/+38
|
* Build list of paths and weed out duplicates before loading configs, andnicm2020-05-161-2/+2
| | | | add TMUX_SOCK like TMUX_PATH for the socket directory.
* Add extension terminfo(5) capabilities for margins.nicm2020-05-161-4/+13
|
* Remove support for iTerm2's DSR 1337 extension and use the CSI > qnicm2020-05-161-2/+2
| | | | extension now supported by a few different terminals.
* Move the background colour to clear with (if any) up as well as the datanicm2020-04-211-3/+3
| | | | when scrolling, redraw problem reported by sthen@.
* 256 and RGB features can imply AX (for aixterm colours).nicm2020-04-211-1/+3
|
* Apply terminal-overrides after terminal detection, it always takesnicm2020-04-201-3/+6
| | | | precedence.
* Change the Sync capability to be a string instead of a flag.nicm2020-04-201-3/+2
|
* Tidy up the terminal detection and feature code and add named sets ofnicm2020-04-201-0/+264
terminal features, each of which are defined in one place and map to a builtin set of terminfo(5) capabilities. Features can be specified based on TERM with a new terminal-features option or with the -T flag when running tmux. tmux will also detect a few common terminals from the DA and DSR responses. This is intended to make it easier to configure tmux's use of terminfo(5) even in the presence of outdated ncurses(3) or terminfo(5) databases or for features which do not yet have a terminfo(5) entry. Instead of having to grok terminfo(5) capability names and what they should be set to in the terminal-overrides option, the user can hopefully just give tmux a feature name and let it do the right thing. The terminal-overrides option remains both for backwards compatibility and to allow tweaks of individual capabilities. tmux already did much of this already, this makes it tidier and simpler to configure.