summaryrefslogtreecommitdiffstats
path: root/tty-term.c
AgeCommit message (Collapse)Author
2019-03-18Merge branch 'obsd-master'Thomas Adam
2019-03-18Make array options a sparse tree instead of an array of char * andnicm
remove the size limit.
2018-10-18Support for extended underline styles on terminals which offer them,nicm
enabled by adding the Smulx capability with terminal-overrides (add something like ',vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492.
2018-10-08Use :: for escaping : in terminal-overrides not \:.Nicholas Marriott
2018-10-08Support for extended underline styles, enabled by adding the SmulxNicholas Marriott
capability with terminal-overrides (add something like 'vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492.
2018-09-05Cast parameters to tparm, from Christos Zoulas via Leonardo Taccari.Nicholas Marriott
2018-05-07Merge branch 'obsd-master'Thomas Adam
2018-05-07Handle terminfo colors > 256 correctly, GitHub issue 1337.nicm
2018-02-04Merge branch 'obsd-master'Thomas Adam
2018-02-04Upstream ncurses has introduced terminfo capabilities to specify RGBnicm
colour ("true" or "direct" colour). These consist of new entries (such as "xterm-direct") which have a different setaf/setab implementation, colors and pairs set to 0x1000000 and 0x10000, and a new RGB flag. The setaf/setab definitions seem to be geared towards what ncurses (or emacs maybe) needs, in that the new versions do only ANSI and RGB colours (they can't be used for the 256 colour palette); they rely on the silly ISO colon-separated version of SGR; and they use a weird multiplication scheme so they still only need one argument. The higher values of colors and pairs require a recent ncurses to parse. tmux can use the RGB flag to detect RGB colour support (keeping the old Tc extension for backwards compatibility for now). However, as we still want to send 256 colour information unchanged when possible, the new setaf/setab are awkward. So when RGB is present, reserve setaf/setab only for ANSI colours and use the escape sequences directly for 256 and RGB colours. (To my knowledge no recent terminal uses unusual escape sequences for these in any case.)
2017-08-27Merge branch 'obsd-master'Thomas Adam
2017-08-27Use kind and kri for S-Up/Down as well as kUP and kDN.nicm
2017-06-16Merge branch 'obsd-master'Thomas Adam
2017-06-16Log terminal capabilities for each new terminal.nicm
2017-06-04tparm() fix for Solaris.Nicholas Marriott
2017-05-31Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile.am cfg.c server-client.c
2017-05-31Look for setrgbf and setrgbb terminfo extensions for RGB colour. This isnicm
the most reasonable of the various (some bizarre) suggestions for capabilities.
2017-05-15Merge branch 'obsd-master'Thomas Adam
2017-05-15Check the terminfo(5) U8 capability and disable using UTF-8 for ACS ifnicm
it is present and zero. This is useful for users with terminals or fonts that do not correctly support UTF-8 line drawing characters. GitHub issue 927, reported by Hiroaki Yamazoe and Akinori Hattori.
2017-03-22Merge branch 'obsd-master'Thomas Adam
2017-03-22Add support for the strikethrough attribute (SGR 9), using the new smxxnicm
terminfo capability. This means there are now nine attribute bits, so anything above 0xff uses an extended cell.
2017-02-21Merge branch 'obsd-master'Thomas Adam
2017-02-21Don't need is1,is2,is3 so remove them.nicm
2017-02-08Merge branch 'obsd-master'Thomas Adam
2017-02-08Add support for scroll up escape sequence (CSI S) and use it whennicm
possible instead of sending individual line feeds.
2017-02-07Merge branch 'obsd-master'Thomas Adam
2017-02-06Use DECFRA on VT420 compatible terminals (so, xterm) and ED on allnicm
others for clearing panes.
2017-01-24Merge branch 'obsd-master'Thomas Adam
2017-01-24Convert terminal-overrides to an array option.nicm
2017-01-13Merge branch 'obsd-master'Thomas Adam
2017-01-13Make options_get_string return const string.nicm
2016-12-10Merge branch 'obsd-master'Thomas Adam
2016-12-09Spacing nits.nicm
2016-10-12Merge branch 'obsd-master'Thomas Adam
Conflicts: format.c osdep-openbsd.c
2016-10-10Loads more static, except for cmd-*.c and window-*.c.nicm
2016-01-29Merge branch 'obsd-master'Thomas Adam
2016-01-29Support for RGB colour, using the extended cell mechanism to avoidnicm
wasting unnecessary space. The 'Tc' flag must be set in the external TERM entry (using terminal-overrides or a custom terminfo entry), if not tmux will map to the closest of the 256 or 16 colour palettes. Mostly from Suraj N Kurapati, based on a diff originally by someone else.
2016-01-19Merge branch 'obsd-master'Thomas Adam
2016-01-19I no longer use my SourceForge address so replace it.nicm
2015-12-11Merge branch 'master' of github.com:tmux/tmuxNicholas Marriott
2015-12-11Look for ncurses with PKG_CONFIG, and remove libtinfo because it just causesNicholas Marriott
confusion.
2015-12-11Merge branch 'obsd-master'Thomas Adam
2015-12-11Style nits and line wrapping of function declarations.nicm
2015-11-18Merge branch 'obsd-master'Thomas Adam
2015-11-18Sync the entire xmalloc.[ch] with the other users, but with the additionnicm
of xrealloc, xvasprintf, xvsnprintf.
2015-10-27Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile client.c server-client.c server.c tmux.c tmux.h
2015-10-27Move struct options into options.c.nicm
2015-09-24Merge branch 'obsd-master'Thomas Adam
2015-09-24Assign flag not number for flag types (we got away with it so farnicm
because that are a union). From Filipe Brandenburger.
2015-09-06Merge branch 'obsd-master'Thomas Adam
Conflicts: cfg.c tmux.c