Go to file
nicm 979313832c Extend the #[] style syntax and use that together with previous format
changes to allow the status line to be entirely configured with a single
option.

Now that it is possible to configure their content, enable the existing
code that lets the status line be multiple lines in height. The status
option can now take a value of 2, 3, 4 or 5 (as well as the previous on
or off) to configure more than one line. The new status-format array
option configures the format of each line, the default just references
the existing status-* options, although some of the more obscure status
options may be eliminated in time.

Additions to the #[] syntax are: "align" to specify alignment (left,
centre, right), "list" for the window list and "range" to configure
ranges of text for the mouse bindings.

The "align" keyword can also be used to specify alignment of entries in
tree mode and the pane status lines.
2019-03-18 20:53:33 +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 Support for extended underline styles on terminals which offer them, 2018-10-18 07:57:57 +00:00
cfg.c Allow multiple modes to be open in a pane. A stack of open modes is kept 2019-03-12 11:16:49 +00:00
client.c Do not use PWD unless it actually matches the real working directory. 2018-11-22 10:36:40 +00:00
cmd-attach-session.c Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +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 Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +00:00
cmd-capture-pane.c Missing space in capture-pane usage, from Ben Boeckel. 2019-03-14 06:36:21 +00:00
cmd-choose-tree.c Add [template] to display-panes and choose-{buffer,client,tree} usage 2018-11-15 10:38:53 +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 Allow multiple modes to be open in a pane. A stack of open modes is kept 2019-03-12 11:16:49 +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 Add format variables for the default formats for the various modes 2019-03-18 14:10:25 +00:00
cmd-display-panes.c Add -b to display-panes like run-shell, GitHub issue 1559. 2019-02-06 07:36:06 +00:00
cmd-find-window.c Add -Z to find-window as well. 2018-08-20 15:00:42 +00:00
cmd-find.c Add a : to make error messages clearer. 2019-03-15 15:20:00 +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 Memory leaks, from Gang Fan in GitHub issue 1453. 2018-08-27 11:03:34 +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 Add x and X to choose-tree (with a confirmation prompt) to kill an 2018-04-10 10:48:44 +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 Make key trees and some other bits static. 2018-08-02 11:44:07 +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 Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +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 Memory leaks, from Gang Fan in GitHub issue 1453. 2018-08-27 11:03:34 +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 Fix resizing of control clients, should be ignored until SIZECHANGED flag set. 2019-03-12 13:56:30 +00:00
cmd-new-window.c Fix new-window -k, GitHub issue 1403. 2018-07-15 06:57:13 +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 Store the time in the format tree rather than passing it around. 2019-03-14 23:14:27 +00:00
cmd-queue.c Allow multiple modes to be open in a pane. A stack of open modes is kept 2019-03-12 11:16:49 +00:00
cmd-refresh-client.c Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +00:00
cmd-rename-session.c Allow no client for rename-session, from Ryan Freeman. 2018-04-11 09:54:45 +00:00
cmd-rename-window.c Fix a regression: do not warn about no client in rename-window. 2018-03-23 19:17:03 +00:00
cmd-resize-pane.c Some tidying and helper functions. 2018-08-18 16:14:03 +00:00
cmd-resize-window.c Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +00:00
cmd-respawn-pane.c Allow multiple modes to be open in a pane. A stack of open modes is kept 2019-03-12 11:16:49 +00:00
cmd-respawn-window.c Allow multiple modes to be open in a pane. A stack of open modes is kept 2019-03-12 11:16:49 +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 Allow multiple modes to be open in a pane. A stack of open modes is kept 2019-03-12 11:16:49 +00:00
cmd-save-buffer.c Do not leak path or use it after free. 2018-07-31 13:06:44 +00:00
cmd-select-layout.c Fire notify for select-layout, from George Nachman. 2018-07-02 12:39:14 +00:00
cmd-select-pane.c Add a wrapper (struct style) around styles rather than using the 2019-03-14 09:53:52 +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 Allow multiple modes to be open in a pane. A stack of open modes is kept 2019-03-12 11:16:49 +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 Add set-hook -R to run a hook immediately (useful to set multiple hooks 2018-07-04 12:30:52 +00:00
cmd-set-option.c Make array options a sparse tree instead of an array of char * and 2019-03-18 11:58:40 +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 Move job struct into job.c. 2018-08-23 15:45:05 +00:00
cmd-show-options.c Make array options a sparse tree instead of an array of char * and 2019-03-18 11:58:40 +00:00
cmd-source-file.c Make server_client_get_cwd used (almost) everywhere we need to work out 2018-05-24 09:42:49 +00:00
cmd-split-window.c Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +00:00
cmd-string.c Expand \u and \U escape sequences in command strings, from Christopher 2018-08-19 19:03:46 +00:00
cmd-swap-pane.c Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +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 Correctly unzoom and redraw panes in switch-client. 2018-11-06 15:13:13 +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 There is no reason wait-for has to be restricted to outside tmux. 2018-11-07 07:58:16 +00:00
cmd.c Make array options a sparse tree instead of an array of char * and 2019-03-18 11:58:40 +00:00
colour.c The pane's style should be initialized to default before parsing the 2019-03-13 21:39:21 +00:00
control-notify.c evbuffer_new and bufferevent_new can both fail (when malloc fails) and 2018-11-19 13:35:40 +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 array options a sparse tree instead of an array of char * and 2019-03-18 11:58:40 +00:00
format-draw.c Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +00:00
format.c Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +00:00
grid-view.c Add accessors for grid linedata member, for some future work. From Dan 2018-07-04 09:44:07 +00:00
grid.c Mode init needs to be fired with the mode on the list or it will not be 2019-03-18 15:25:36 +00:00
hooks.c Remove unused hooks_run function, from Thomas Adam. 2018-01-18 07:10:53 +00:00
input-keys.c Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +00:00
input.c Add a wrapper (struct style) around styles rather than using the 2019-03-14 09:53:52 +00:00
job.c evbuffer_new and bufferevent_new can both fail (when malloc fails) and 2018-11-19 13:35:40 +00:00
key-bindings.c Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +00:00
key-string.c Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +00:00
layout-custom.c Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +00:00
layout-set.c Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +00:00
layout.c Support for windows larger than visible on the attached client. This has 2018-10-18 08:38:01 +00:00
log.c Support SIGUSR2 to stop and start logging for an existing server. Also 2017-06-04 08:25:57 +00:00
Makefile Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +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 Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +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 Add set-hook -R to run a hook immediately (useful to set multiple hooks 2018-07-04 12:30:52 +00:00
options-table.c Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +00:00
options.c Make array options a sparse tree instead of an array of char * and 2019-03-18 11:58:40 +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 Tidy and rename some bits of status line code. 2019-03-16 17:14:07 +00:00
screen-redraw.c Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +00:00
screen-write.c Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +00:00
screen.c Do not highlight characters which will not be copied, reported by 2019-01-15 09:56:31 +00:00
server-client.c Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +00:00
server-fn.c DECRC and DECSC apparently need to preserve origin mode as well, based 2019-03-12 20:02:47 +00:00
server.c Move job struct into job.c. 2018-08-23 15:45:05 +00:00
session.c Tidy and rename some bits of status line code. 2019-03-16 17:14:07 +00:00
status.c Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +00:00
style.c Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +00:00
tmux.1 Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +00:00
tmux.c Do not use PWD unless it actually matches the real working directory. 2018-11-22 10:36:40 +00:00
tmux.h Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +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 Make array options a sparse tree instead of an array of char * and 2019-03-18 11:58:40 +00:00
tty-term.c Make array options a sparse tree instead of an array of char * and 2019-03-18 11:58:40 +00:00
tty.c Fix ED1 (clear end of screen), reported by Marc Reisner. 2019-03-14 17:58:52 +00:00
utf8.c Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +00:00
window-buffer.c Add format variables for the default formats for the various modes 2019-03-18 14:10:25 +00:00
window-client.c Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +00:00
window-clock.c DECRC and DECSC apparently need to preserve origin mode as well, based 2019-03-12 20:02:47 +00:00
window-copy.c DECRC and DECSC apparently need to preserve origin mode as well, based 2019-03-12 20:02:47 +00:00
window-tree.c Add format variables for the default formats for the various modes 2019-03-18 14:10:25 +00:00
window.c Extend the #[] style syntax and use that together with previous format 2019-03-18 20:53:33 +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