Go to file
nicm fe7a871a23 Upstream ncurses has introduced terminfo capabilities to specify RGB
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.)
2018-02-04 10:10:39 +00:00
Makefile Move signal code into proc.c. 2017-07-12 09:24:17 +00:00
alerts.c Redrawing status is needed after changing window flags or title does not 2017-12-28 12:10:50 +00:00
arguments.c Run alert hooks based on the options rather than unconditionally, from 2017-08-23 09:14:21 +00:00
attributes.c Add support for the strikethrough attribute (SGR 9), using the new smxx 2017-03-22 07:16:54 +00:00
cfg.c Some unused code, GitHub issue 1219. 2018-01-15 15:27:03 +00:00
client.c Prefer PWD for current directory if present in client, from Wei Zhao in 2018-01-01 11:19:08 +00:00
cmd-attach-session.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
cmd-bind-key.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-break-pane.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
cmd-capture-pane.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-choose-tree.c Only show the first member of session groups in tree mode (-G flag 2017-11-02 18:27:35 +00:00
cmd-command-prompt.c Tidy command prompt callbacks and pass in the client. 2017-05-17 15:20:23 +00:00
cmd-confirm-before.c Tidy command prompt callbacks and pass in the client. 2017-05-17 15:20:23 +00:00
cmd-copy-mode.c Rewrite of choose mode, both to simplify and tidy the code and to add 2017-05-30 21:44:59 +00:00
cmd-detach-client.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-display-message.c In order that people can use formats like #D in #() in the status line 2017-05-01 12:20:55 +00:00
cmd-display-panes.c Add -d flag to display-panes to specify timeout, and make 0 mean no 2017-08-16 12:12:54 +00:00
cmd-find-window.c Shut up a warning. 2017-05-31 16:44:33 +00:00
cmd-find.c Another redundant check, GitHub issue 1219. 2018-01-15 15:30:03 +00:00
cmd-has-session.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-if-shell.c if-shell doesn't need to queue its error message into a callback, and in 2017-04-25 11:49:35 +00:00
cmd-join-pane.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
cmd-kill-pane.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-kill-server.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-kill-session.c Some extra logging to show why tmux might exit. 2017-07-09 22:33:09 +00:00
cmd-kill-window.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-list-buffers.c In order that people can use formats like #D in #() in the status line 2017-05-01 12:20:55 +00:00
cmd-list-clients.c In order that people can use formats like #D in #() in the status line 2017-05-01 12:20:55 +00:00
cmd-list-keys.c In order that people can use formats like #D in #() in the status line 2017-05-01 12:20:55 +00:00
cmd-list-panes.c In order that people can use formats like #D in #() in the status line 2017-05-01 12:20:55 +00:00
cmd-list-sessions.c In order that people can use formats like #D in #() in the status line 2017-05-01 12:20:55 +00:00
cmd-list-windows.c In order that people can use formats like #D in #() in the status line 2017-05-01 12:20:55 +00:00
cmd-list.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
cmd-load-buffer.c Some unused code, GitHub issue 1219. 2018-01-15 15:27:03 +00:00
cmd-lock-server.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-move-window.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-new-session.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
cmd-new-window.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
cmd-paste-buffer.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-pipe-pane.c Add -I to pipe-pane to connect pane stdin as well as stdout, suggested 2018-01-16 09:00:38 +00:00
cmd-queue.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
cmd-refresh-client.c Also recalculate session sizes when refreh-client -C is used. GitHub 2017-05-28 19:00:52 +00:00
cmd-rename-session.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-rename-window.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-resize-pane.c Change how we resolve which pane is dragging when there are multiple 2017-05-11 07:24:42 +00:00
cmd-respawn-pane.c Add -c for respawn-pane and respawn-window, from J Raynor. 2017-07-21 09:17:19 +00:00
cmd-respawn-window.c Add -c for respawn-pane and respawn-window, from J Raynor. 2017-07-21 09:17:19 +00:00
cmd-rotate-window.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
cmd-run-shell.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
cmd-save-buffer.c Memory leaks, from David CARLIER. 2017-04-22 06:13:30 +00:00
cmd-select-layout.c Add a common function for spreading out cells and use it for the two 2017-11-15 19:59:27 +00:00
cmd-select-pane.c Allow formats in selectp -T, from Thomas Adam. 2017-11-17 09:52:18 +00:00
cmd-select-window.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
cmd-send-keys.c Apply the xterm key flag when needed for send-keys, fixes problem 2017-06-28 11:36:39 +00:00
cmd-send-prefix.c Make command exec functions return an enum rather than -1/0/1 values and 2012-07-11 07:10:15 +00:00
cmd-set-buffer.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-set-environment.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-set-hook.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-set-option.c Do not try to set default value on user options (they don't have one), 2017-12-22 10:18:51 +00:00
cmd-show-buffer.c Make command exec functions return an enum rather than -1/0/1 values and 2012-07-11 07:10:15 +00:00
cmd-show-environment.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-show-messages.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-show-options.c Expand formats in option names and add -F flag to do so in option values as well. 2017-05-10 13:05:41 +00:00
cmd-source-file.c load_cfg returns < 0 on error, not != 0. Problem reported by Kaushal Modi. 2017-04-19 16:59:54 +00:00
cmd-split-window.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
cmd-string.c Don't overwrite error message when it is available in 2017-06-14 07:42:41 +00:00
cmd-swap-pane.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-swap-window.c Get rid of the extra layer of flags and cmd_prepare() and just store the 2017-04-22 10:22:39 +00:00
cmd-switch-client.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
cmd-unbind-key.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-wait-for.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd.c Rewrite of choose mode, both to simplify and tidy the code and to add 2017-05-30 21:44:59 +00:00
colour.c Show count of search results in copy mode. 2017-03-24 07:14:27 +00:00
control-notify.c Some new notifications, mainly for active pane and current window and 2017-05-04 07:16:43 +00:00
control.c It is silly for cmd_list_parse to return an integer error when it could 2017-01-15 22:00:56 +00:00
environ.c Make environ_log prefix take a format. 2017-05-11 07:34:54 +00:00
format.c Discard all but the last line when reading from a #() command - the 2018-01-18 14:28:11 +00:00
grid-view.c Instead of overloading the line clear function to mean free if 2017-08-30 18:13:47 +00:00
grid.c Completely rewrite the reflow code to correctly handle double width 2017-11-15 19:21:24 +00:00
hooks.c Remove unused hooks_run function, from Thomas Adam. 2018-01-18 07:10:53 +00:00
input-keys.c Apply the xterm key flag when needed for send-keys, fixes problem 2017-06-28 11:36:39 +00:00
input.c Simplify UTF-8 states down into one state. 2018-01-12 16:32:12 +00:00
job.c Because ignore SIGCHLD early, letting signal_del restore it doesn't work 2017-07-14 18:49:07 +00:00
key-bindings.c Add a common function for spreading out cells and use it for the two 2017-11-15 19:59:27 +00:00
key-string.c Add user-keys option to allow user-defined keys to be set, from Dan 2017-06-23 15:36:52 +00:00
layout-custom.c Use the notify name string instead of going via an enum and change 2016-10-16 22:06:40 +00:00
layout-set.c Initialize the size of new panes created by the even-* layout correctly; 2017-12-31 20:00:44 +00:00
layout.c Improve logging for layout cells. 2018-01-12 10:16:03 +00:00
log.c Support SIGUSR2 to stop and start logging for an existing server. Also 2017-06-04 08:25:57 +00:00
mode-key.c Drop the edit mode key tables and just use fixed key bindings for the 2016-10-12 14:50:14 +00:00
mode-tree.c Clear key properly if on space with nothing in it. 2017-11-03 17:11:20 +00:00
names.c Allow ispunct() as well as isalnum() when parsing initial window names. 2017-07-21 12:58:02 +00:00
notify.c Pass flags into cmd_find_from_* to fix prefer-unattached, reported by 2017-08-30 10:33:57 +00:00
options-table.c Default allow-rename to off because it is ridiculous that applications 2017-10-25 14:14:52 +00:00
options.c Fix filtering so it works after the change to only show windows if they 2017-08-09 13:44:36 +00:00
paste.c Shorten a long line, and don't leak buffer in paste_add if size is zero. 2017-01-24 13:28:33 +00:00
proc.c Because ignore SIGCHLD early, letting signal_del restore it doesn't work 2017-07-14 18:49:07 +00:00
procname.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
resize.c Infrastructure for drawing status lines of more than one line in height, 2017-10-16 19:30:53 +00:00
screen-redraw.c Fix memory leak in screen_redraw_make_pane_status. 2017-12-22 23:16:41 +00:00
screen-write.c Do not collect top-bit-set characters in case they need to be replaced. 2018-01-12 16:43:47 +00:00
screen.c Completely rewrite the reflow code to correctly handle double width 2017-11-15 19:21:24 +00:00
server-client.c Report better error from server when socket create fails, GitHub issue 2017-12-19 15:00:39 +00:00
server-fn.c Show exit status and time in the remain-on-exit pane text, mostly from 2017-10-12 11:32:27 +00:00
server.c Report better error from server when socket create fails, GitHub issue 2017-12-19 15:00:39 +00:00
session.c Only show the first member of session groups in tree mode (-G flag 2017-11-02 18:27:35 +00:00
status.c Add C-g at command prompt for emacs people, GitHub issue 1213. 2018-01-01 11:03:54 +00:00
style.c Add support for the strikethrough attribute (SGR 9), using the new smxx 2017-03-22 07:16:54 +00:00
tmux.1 Add -I to pipe-pane to connect pane stdin as well as stdout, suggested 2018-01-16 09:00:38 +00:00
tmux.c Improve error message if creating socket parent directory fails, from 2018-01-12 10:22:02 +00:00
tmux.h Upstream ncurses has introduced terminfo capabilities to specify RGB 2018-02-04 10:10:39 +00:00
tty-acs.c Check the terminfo(5) U8 capability and disable using UTF-8 for ACS if 2017-05-15 16:44:04 +00:00
tty-keys.c kind should be S-Down not S-Up. 2017-10-09 11:35:35 +00:00
tty-term.c Upstream ncurses has introduced terminfo capabilities to specify RGB 2018-02-04 10:10:39 +00:00
tty.c Upstream ncurses has introduced terminfo capabilities to specify RGB 2018-02-04 10:10:39 +00:00
utf8.c Remove unused variable. 2017-06-04 09:02:57 +00:00
window-buffer.c Support mouse on preview in tree mode. 2017-11-03 17:02:33 +00:00
window-client.c Support mouse on preview in tree mode. 2017-11-03 17:02:33 +00:00
window-clock.c Rewrite of choose mode, both to simplify and tidy the code and to add 2017-05-30 21:44:59 +00:00
window-copy.c Add -and-cancel variants for scrolling commands to exit copy mode when 2017-11-16 11:16:15 +00:00
window-tree.c Support mouse on preview in tree mode. 2017-11-03 17:02:33 +00:00
window.c If we successfully change the directory, set PWD too to give the shell a 2017-11-09 23:02:13 +00:00
xmalloc.c Key running commands for #() by the unexpanded command, and run them 2016-11-17 10:06:08 +00:00
xmalloc.h Key running commands for #() by the unexpanded command, and run them 2016-11-17 10:06:08 +00:00
xterm-keys.c Up to now, tmux sees \033\033[OA as M-Up and since we turned on 2017-05-07 21:25:59 +00:00