summaryrefslogtreecommitdiffstats
path: root/tty-features.c
AgeCommit message (Collapse)Author
2023-11-14Merge branch 'obsd-master'Thomas Adam
2023-11-14Use SM 2026 for Sync which is more widely supported now.nicm
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.
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 some const, from Markus F X J Oberhumer.nicm
2022-07-19Include curses properly for hyperlinks ifdef, from chrysn at fsfe dot org.Nicholas Marriott
2022-06-30Do not set Hls for hyperlinks on ncurses older than 5.9 (for example macOS).Nicholas Marriott
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-06-14kf* terminfo capabilities are poorly defined and rxvt uses them in anicm
different way from xterm, so add a feature flag for rxvt to make tmux ignore the capabilities and instead rely on its builtin definitions.
2022-05-30iTerm2 has OSC 7, from Gregory Anders.nicm
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-12-21Support underscore style with capture-pane -e, GitHub issue 2928.nicm
2021-06-10Feature for the mouse since FreeBSD termcap does not have kmous.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").
2020-10-05Use the setal capability as well as (tmux's) Setulc.nicm
2020-07-18Properly escape a backslash.daniel
Found by CompCert which notes that \E is not a valid escape sequence. ok nicm@
2020-06-04Shorten some long lines.nicm
2020-05-19Some other ctrl keys need to be translated with extended keys on.nicm
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-16Build list of paths and weed out duplicates before loading configs, andnicm
add TMUX_SOCK like TMUX_PATH for the socket directory.
2020-05-16Add extension terminfo(5) capabilities for margins.nicm
2020-05-16Remove support for iTerm2's DSR 1337 extension and use the CSI > qnicm
extension now supported by a few different terminals.
2020-04-21Move the background colour to clear with (if any) up as well as the datanicm
when scrolling, redraw problem reported by sthen@.
2020-04-21256 and RGB features can imply AX (for aixterm colours).nicm
2020-04-20Apply terminal-overrides after terminal detection, it always takesnicm
precedence.
2020-04-20Change the Sync capability to be a string instead of a flag.nicm
2020-04-20Tidy up the terminal detection and feature code and add named sets ofnicm
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.