aboutsummaryrefslogtreecommitdiff
path: root/tty-features.c
Commit message (Collapse)AuthorAge
* Feature for the mouse since FreeBSD termcap does not have kmous.Nicholas Marriott2021-06-08
|
* Three changes to fix problems with xterm in VT340 mode, reported by ThomasNicholas Marriott2021-04-22
| | | | | | | | | | | | Sattler. 1) Do not include the DECSLRM or DECFRA features for xterm; they will be added instead if secondary DA responds as VT420 (this happens already). 2) Set or reset the individual flags after terminal-overrides is applied, so the user can properly disable them. 3) Add a capability for DECFRA ("Rect").
* Use the setal capability as well as (tmux's) Setulc.nicm2020-10-05
|
* Properly escape a backslash.daniel2020-07-18
| | | | | | Found by CompCert which notes that \E is not a valid escape sequence. ok nicm@
* Shorten some long lines.nicm2020-06-04
|
* Some other ctrl keys need to be translated with extended keys on.nicm2020-05-19
|
* Add a terminal feature for enable/disable extended keys (supported bynicm2020-05-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-16
| | | | | | | 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.
* Build list of paths and weed out duplicates before loading configs, andnicm2020-05-16
| | | | add TMUX_SOCK like TMUX_PATH for the socket directory.
* Add extension terminfo(5) capabilities for margins.nicm2020-05-16
|
* Remove support for iTerm2's DSR 1337 extension and use the CSI > qnicm2020-05-16
| | | | extension now supported by a few different terminals.
* Move the background colour to clear with (if any) up as well as the datanicm2020-04-21
| | | | when scrolling, redraw problem reported by sthen@.
* 256 and RGB features can imply AX (for aixterm colours).nicm2020-04-21
|
* Apply terminal-overrides after terminal detection, it always takesnicm2020-04-20
| | | | precedence.
* Change the Sync capability to be a string instead of a flag.nicm2020-04-20
|
* Tidy up the terminal detection and feature code and add named sets ofnicm2020-04-20
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.