aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master' into masterThomas Adam2021-08-25
|\
| * setupterm needs char * not const char * on some platforms.nicm2021-08-25
| |
| * Fix warnings, from Jan Tache in GitHub issue 2692.nicm2021-06-10
| |
| * Three changes to fix problems with xterm in VT340 mode, reported bynicm2021-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | Thomas 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").
| * There is no need to call del_curterm in the server anymore.nicm2021-03-01
| |
* | Fix warnings, from Jan Tache in GitHub issue 2692.Nicholas Marriott2021-05-03
| |
* | 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").
* | Reinstate del_curterm ifdef bits.Nicholas Marriott2021-03-01
| |
* | Merge branch 'obsd-master' into masterThomas Adam2021-02-17
|\|
| * Move the call to setupterm() into the client and have it pass thenicm2021-02-17
| | | | | | | | | | | | results to the server over imsg, means the server does not need to enter ncurses or read terminfo db. Old clients will not work with a new server.
* | Merge branch 'obsd-master' into masterThomas Adam2021-02-05
|\|
| * Send Unicode directional isolate characters around horizontal panenicm2021-02-05
| | | | | | | | | | | | | | | | borders if the terminal support UTF-8 and an extension terminfo(5) capability "Bidi" is present. On terminals with BiDi support (ie, VTE) this seems to be enough to display right-to-left text acceptably enough to be usable (with some caveats about the mouse position). Requested by and with help from Mahmoud Elagdar in GitHub issue 2425.
* | Merge branch 'obsd-master'Thomas Adam2020-10-13
|\|
| * Set RGB flag if capabilities are present, GitHub issue 2418.nicm2020-10-13
| |
* | Merge branch 'obsd-master'Thomas Adam2020-10-05
|\|
| * Use the setal capability as well as (tmux's) Setulc.nicm2020-10-05
| |
* | Merge branch 'obsd-master'Thomas Adam2020-08-24
|\|
| * Do not run off end of string when stripping delays, reported by Davenicm2020-08-24
| | | | | | | | Vandervies.
* | Merge branch 'obsd-master'Thomas Adam2020-06-05
|\|
| * Fix various confusion about am vs xenl.nicm2020-06-05
| |
| * 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.
| * Add extension terminfo(5) capabilities for margins.nicm2020-05-16
| |
* | Put headers back how they were.Nicholas Marriott2020-05-22
| |
* | Maybe this is better.Nicholas Marriott2020-05-22
| |
* | Think Solaris needs term.h here.Nicholas Marriott2020-05-22
| |
* | Log ncurses and utf8proc versions.Nicholas Marriott2020-05-22
| |
* | Add a terminal feature for enable/disable extended keys (supported by xterm andNicholas Marriott2020-05-15
| | | | | | | | mintty) and add an option to make tmux send it.
* | CUD is not a requirement and tweak some comments.Nicholas Marriott2020-04-24
| |
* | Instead of having a default set of terminals in terminal-overrides that get XTNicholas Marriott2020-04-24
| | | | | | | | | | | | | | | | | | | | | | 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. This is all to detect extensions if terminfo(5) is wrong or inadequate. If it fails, tmux will just fall back to using the capabilities in the terminfo(5) entry alone.
* | Add feature and capabilities for focus reporting. Also document AX and XT evenNicholas Marriott2020-04-24
| | | | | | | | though they aren't tmux's.
* | Add a feature for bracketed paste.Nicholas Marriott2020-04-24
| |
* | Add extension terminfo(5) capabilities for margins.Nicholas Marriott2020-04-23
| |
* | Merge branch 'obsd-master'Thomas Adam2020-04-23
|\|
| * Overrides need to be applied both before and after features in case theynicm2020-04-23
| | | | | | | | change flags used to detect a feature.
* | Merge branch 'obsd-master'Thomas Adam2020-04-20
|\|
| * Apply terminal-overrides after terminal detection, it always takesnicm2020-04-20
| | | | | | | | precedence.
* | Merge branch 'obsd-master'Thomas Adam2020-04-20
|\|
| * 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.
* | Merge branch 'obsd-master'Thomas Adam2020-04-16
|\|
| * Add support for the iTerm2 sychronized updates escape sequence whichnicm2020-04-16
| | | | | | | | drastically reduces flickering.
* | Merge branch 'obsd-master'Thomas Adam2020-01-28
|\|
| * If we can identify the terminal as iTerm2 or as tmux, we can be surenicm2020-01-28
| | | | | | | | they support 256 and RGB colours, so set those flags too.
* | Merge branch 'obsd-master'Thomas Adam2020-01-12
|\|
| * The terminal type was never as much use as I expected so remove it innicm2020-01-12
| | | | | | | | | | favour of a couple of flags for the features used (DECSLRM and DECFRA). Also rename the flag for no xenl to be more obvious while here.
* | Merge branch 'obsd-master'Thomas Adam2019-11-28
|\|
| * Long lines and spacing fixes.nicm2019-11-28
| |
* | Merge branch 'obsd-master'Thomas Adam2019-10-03
|\|
| * Do not lazily use BUFSIZ for "I don't care what size" when buildingnicm2019-10-03
| | | | | | | | | | strings because it is only guaranteed to be 256 bytes and even the default 1024 is not always enough. Reported by Gregory Pakosz.