summaryrefslogtreecommitdiffstats
path: root/tty-term.c
AgeCommit message (Collapse)Author
2023-09-02Merge branch 'obsd-master'Thomas Adam
2023-09-02Setulc only does RGB colour so add Setulc1 to do non-RGB colours, GitHubnicm
issue 3627.
2023-06-30Merge branch 'obsd-master'Thomas Adam
2023-06-30Get rid of some warnings with GCC 10, from Thomas Klausner.nicm
2023-04-28Merge branch 'obsd-master'Thomas Adam
2023-04-28Cast both strings for tparm.Nicholas Marriott
2023-04-28Do not fatal if tparm fails, instead just log it (not working sequencesnicm
are better than exiting).
2023-04-28Use ncurses' new tparm_s function (added in 6.4-20230424) instead of tparm soNicholas Marriott
it does not object to string arguments in capabilities it doesn't already know.
2023-04-27Merge branch 'obsd-master'Thomas Adam
2023-04-25Tidy tparm wrapper functions to have more obvious names and check tparmnicm
return value.
2022-11-11Merge branch 'obsd-master'Thomas Adam
2022-11-11Tweak previous to set and log the feature instead of just setting thenicm
flag.
2022-11-11Parse primary device attributes as well as secondary and add a SIXELnicm
flag (not used yet), from Anindya Mukherjee.
2022-08-15Merge branch 'obsd-master'Thomas Adam
2022-08-15Add a Nobr terminfo capability to tell tmux the terminal does not usenicm
bright colours for bold (makes a difference to how tmux applies palette differences). From Damien Tardy-Panis in GitHub issue 3301.
2022-06-30Merge branch 'obsd-master'Thomas Adam
2022-06-30Add support for OSC 8 hyperlinks (a VTE extension now supported by othernicm
terminals such as iTerm2). Originally written by me then extended and completed by first Will Noble and later Jeff Chiang. GitHub issues 911, 2621, 2890, 3240.
2022-03-24Merge branch 'obsd-master' into masterThomas Adam
2022-03-24Add a capability for OSC 7 and use it similarly to how the title is setnicm
(and controlled by the same set-titles option). GitHub issue 3127.
2021-08-25Merge branch 'obsd-master' into masterThomas Adam
2021-08-25setupterm needs char * not const char * on some platforms.nicm
2021-06-10Fix warnings, from Jan Tache in GitHub issue 2692.nicm
2021-06-10Three changes to fix problems with xterm in VT340 mode, reported bynicm
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").
2021-05-03Fix warnings, from Jan Tache in GitHub issue 2692.Nicholas Marriott
2021-04-22Three changes to fix problems with xterm in VT340 mode, reported by ThomasNicholas Marriott
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").
2021-03-01Reinstate del_curterm ifdef bits.Nicholas Marriott
2021-03-01There is no need to call del_curterm in the server anymore.nicm
2021-02-17Merge branch 'obsd-master' into masterThomas Adam
2021-02-17Move the call to setupterm() into the client and have it pass thenicm
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.
2021-02-05Merge branch 'obsd-master' into masterThomas Adam
2021-02-05Send Unicode directional isolate characters around horizontal panenicm
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.
2020-10-13Merge branch 'obsd-master'Thomas Adam
2020-10-13Set RGB flag if capabilities are present, GitHub issue 2418.nicm
2020-10-05Merge branch 'obsd-master'Thomas Adam
2020-10-05Use the setal capability as well as (tmux's) Setulc.nicm
2020-08-24Merge branch 'obsd-master'Thomas Adam
2020-08-24Do not run off end of string when stripping delays, reported by Davenicm
Vandervies.
2020-06-05Merge branch 'obsd-master'Thomas Adam
2020-06-05Fix various confusion about am vs xenl.nicm
2020-05-22Put headers back how they were.Nicholas Marriott
2020-05-22Maybe this is better.Nicholas Marriott
2020-05-22Think Solaris needs term.h here.Nicholas Marriott
2020-05-22Log ncurses and utf8proc versions.Nicholas Marriott
2020-05-16Add a terminal feature for enable/disable extended keys (supported bynicm
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.
2020-05-16Instead of having a default set of terminals in terminal-overrides thatnicm
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.
2020-05-16Add extension terminfo(5) capabilities for margins.nicm
2020-05-15Add a terminal feature for enable/disable extended keys (supported by xterm andNicholas Marriott
mintty) and add an option to make tmux send it.
2020-04-24CUD is not a requirement and tweak some comments.Nicholas Marriott
2020-04-24Instead of having a default set of terminals in terminal-overrides that get XTNicholas Marriott
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.
2020-04-24Add feature and capabilities for focus reporting. Also document AX and XT evenNicholas Marriott
though they aren't tmux's.