2014-11-08 12:27:43 +00:00
|
|
|
/* $OpenBSD$ */
|
2011-01-03 23:52:38 +00:00
|
|
|
|
|
|
|
/*
|
2016-01-19 15:59:12 +00:00
|
|
|
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
|
2011-01-03 23:52:38 +00:00
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
|
|
* copyright notice and this permission notice appear in all copies.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
|
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
|
* WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
|
|
|
|
* IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
|
|
|
|
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
#include "tmux.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file has a tables with all the server, session and window
|
|
|
|
* options. These tables are the master copy of the options with their real
|
|
|
|
* (user-visible) types, range limits and default values. At start these are
|
|
|
|
* copied into the runtime global options trees (which only has number and
|
2014-04-17 11:38:35 +00:00
|
|
|
* string types). These tables are then used to look up the real type when the
|
|
|
|
* user sets an option or its value needs to be shown.
|
2011-01-03 23:52:38 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* Choice option type lists. */
|
2016-10-03 22:52:11 +00:00
|
|
|
static const char *options_table_mode_keys_list[] = {
|
2011-01-03 23:52:38 +00:00
|
|
|
"emacs", "vi", NULL
|
|
|
|
};
|
2016-10-03 22:52:11 +00:00
|
|
|
static const char *options_table_clock_mode_style_list[] = {
|
2011-01-03 23:52:38 +00:00
|
|
|
"12", "24", NULL
|
|
|
|
};
|
2016-10-03 22:52:11 +00:00
|
|
|
static const char *options_table_status_keys_list[] = {
|
2011-01-03 23:52:38 +00:00
|
|
|
"emacs", "vi", NULL
|
|
|
|
};
|
2016-10-03 22:52:11 +00:00
|
|
|
static const char *options_table_status_justify_list[] = {
|
2011-01-03 23:52:38 +00:00
|
|
|
"left", "centre", "right", NULL
|
|
|
|
};
|
2016-10-03 22:52:11 +00:00
|
|
|
static const char *options_table_status_position_list[] = {
|
2012-01-29 12:57:01 +00:00
|
|
|
"top", "bottom", NULL
|
|
|
|
};
|
2016-10-03 22:52:11 +00:00
|
|
|
static const char *options_table_bell_action_list[] = {
|
2015-05-12 15:27:46 +00:00
|
|
|
"none", "any", "current", "other", NULL
|
2011-01-03 23:52:38 +00:00
|
|
|
};
|
2016-10-03 22:52:11 +00:00
|
|
|
static const char *options_table_pane_status_list[] = {
|
2016-04-29 15:00:48 +00:00
|
|
|
"off", "top", "bottom", NULL
|
|
|
|
};
|
2011-01-03 23:52:38 +00:00
|
|
|
|
2017-01-15 20:48:41 +00:00
|
|
|
/* Top-level options. */
|
2015-11-20 12:01:19 +00:00
|
|
|
const struct options_table_entry options_table[] = {
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "buffer-limit",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SERVER,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 1,
|
|
|
|
.maximum = INT_MAX,
|
2011-04-18 21:01:44 +00:00
|
|
|
.default_num = 20
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
2017-01-24 19:59:19 +00:00
|
|
|
{ .name = "command-alias",
|
|
|
|
.type = OPTIONS_TABLE_ARRAY,
|
|
|
|
.scope = OPTIONS_TABLE_SERVER,
|
|
|
|
.default_str = "split-pane=split-window,"
|
|
|
|
"splitp=split-window,"
|
|
|
|
"server-info=show-messages -JT,"
|
|
|
|
"info=show-messages -JT",
|
|
|
|
.separator = ","
|
|
|
|
},
|
|
|
|
|
2015-04-29 15:59:08 +00:00
|
|
|
{ .name = "default-terminal",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SERVER,
|
2015-04-29 15:59:08 +00:00
|
|
|
.default_str = "screen"
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "escape-time",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SERVER,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 500
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "exit-unattached",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SERVER,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
2013-06-23 13:10:46 +00:00
|
|
|
{ .name = "focus-events",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SERVER,
|
2013-06-23 13:10:46 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
2015-07-20 15:50:04 +00:00
|
|
|
{ .name = "history-file",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SERVER,
|
2015-11-12 08:19:18 +00:00
|
|
|
.default_str = ""
|
2015-07-20 15:50:04 +00:00
|
|
|
},
|
|
|
|
|
2014-03-07 15:37:01 +00:00
|
|
|
{ .name = "message-limit",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SERVER,
|
2014-03-07 15:37:01 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 100
|
|
|
|
},
|
|
|
|
|
2011-05-22 16:23:07 +00:00
|
|
|
{ .name = "set-clipboard",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SERVER,
|
2011-05-22 16:23:07 +00:00
|
|
|
.default_num = 1
|
|
|
|
},
|
|
|
|
|
2014-02-23 00:53:06 +00:00
|
|
|
{ .name = "terminal-overrides",
|
2017-01-24 20:05:15 +00:00
|
|
|
.type = OPTIONS_TABLE_ARRAY,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SERVER,
|
2015-09-25 23:30:24 +00:00
|
|
|
.default_str = "xterm*:XT:Ms=\\E]52;%p1%s;%p2%s\\007"
|
2014-02-23 00:53:06 +00:00
|
|
|
":Cs=\\E]12;%p1%s\\007:Cr=\\E]112\\007"
|
2017-01-24 20:05:15 +00:00
|
|
|
":Ss=\\E[%p1%d q:Se=\\E[2 q,screen*:XT",
|
|
|
|
.separator = ","
|
2014-02-23 00:53:06 +00:00
|
|
|
},
|
|
|
|
|
2013-01-15 22:55:29 +00:00
|
|
|
{ .name = "assume-paste-time",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2013-01-15 22:55:29 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 1,
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "base-index",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "bell-action",
|
|
|
|
.type = OPTIONS_TABLE_CHOICE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.choices = options_table_bell_action_list,
|
|
|
|
.default_num = BELL_ANY
|
|
|
|
},
|
|
|
|
|
2011-07-04 08:23:39 +00:00
|
|
|
{ .name = "bell-on-alert",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-07-04 08:23:39 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "default-command",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_str = ""
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "default-shell",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_str = _PATH_BSHELL
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "destroy-unattached",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "detach-on-destroy",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 1
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "display-panes-active-colour",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 1
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "display-panes-colour",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 4
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "display-panes-time",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 1,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 1000
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "display-time",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2015-11-22 18:28:01 +00:00
|
|
|
.minimum = 0,
|
2011-01-03 23:52:38 +00:00
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 750
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "history-limit",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
2011-01-21 23:54:19 +00:00
|
|
|
.maximum = INT_MAX,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 2000
|
|
|
|
},
|
|
|
|
|
2015-12-12 18:32:24 +00:00
|
|
|
{ .name = "key-table",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
|
|
|
.default_str = "root"
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "lock-after-time",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "lock-command",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_str = "lock -np"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "message-attr",
|
|
|
|
.type = OPTIONS_TABLE_ATTRIBUTES,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "message-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "message-bg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 3,
|
|
|
|
.style = "message-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
2011-11-10 21:40:17 +00:00
|
|
|
{ .name = "message-command-attr",
|
|
|
|
.type = OPTIONS_TABLE_ATTRIBUTES,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "message-command-style"
|
2011-11-10 21:40:17 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "message-command-bg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "message-command-style"
|
2011-11-10 21:40:17 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "message-command-fg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 3,
|
|
|
|
.style = "message-command-style"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "message-command-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_str = "bg=black,fg=yellow"
|
2011-11-10 21:40:17 +00:00
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "message-fg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "message-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
2014-01-28 23:07:09 +00:00
|
|
|
{ .name = "message-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_str = "bg=yellow,fg=black"
|
|
|
|
},
|
|
|
|
|
2015-04-19 21:34:21 +00:00
|
|
|
{ .name = "mouse",
|
2011-04-18 21:07:58 +00:00
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-04-18 21:07:58 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "prefix",
|
2012-01-21 19:36:40 +00:00
|
|
|
.type = OPTIONS_TABLE_KEY,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2012-01-21 19:36:40 +00:00
|
|
|
.default_num = '\002',
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "prefix2",
|
|
|
|
.type = OPTIONS_TABLE_KEY,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2012-01-21 19:36:40 +00:00
|
|
|
.default_num = KEYC_NONE,
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
2012-05-03 17:51:04 +00:00
|
|
|
{ .name = "renumber-windows",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2012-05-03 17:51:04 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "repeat-time",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = SHRT_MAX,
|
|
|
|
.default_num = 500
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "set-titles",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "set-titles-string",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2015-05-12 15:29:29 +00:00
|
|
|
.default_str = "#S:#I:#W - \"#T\" #{session_alerts}"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 1
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-attr",
|
|
|
|
.type = OPTIONS_TABLE_ATTRIBUTES,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "status-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-bg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 2,
|
|
|
|
.style = "status-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-fg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "status-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-interval",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 15
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-justify",
|
|
|
|
.type = OPTIONS_TABLE_CHOICE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.choices = options_table_status_justify_list,
|
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-keys",
|
|
|
|
.type = OPTIONS_TABLE_CHOICE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.choices = options_table_status_keys_list,
|
|
|
|
.default_num = MODEKEY_EMACS
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-left",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-11-05 23:15:11 +00:00
|
|
|
.default_str = "[#S] "
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-left-attr",
|
|
|
|
.type = OPTIONS_TABLE_ATTRIBUTES,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "status-left-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-left-bg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "status-left-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-left-fg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "status-left-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-left-length",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = SHRT_MAX,
|
|
|
|
.default_num = 10
|
|
|
|
},
|
|
|
|
|
2014-01-28 23:07:09 +00:00
|
|
|
{ .name = "status-left-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_str = "default"
|
|
|
|
},
|
|
|
|
|
2012-01-29 12:57:01 +00:00
|
|
|
{ .name = "status-position",
|
|
|
|
.type = OPTIONS_TABLE_CHOICE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2012-01-29 12:57:01 +00:00
|
|
|
.choices = options_table_status_position_list,
|
|
|
|
.default_num = 1
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "status-right",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2015-01-21 12:20:56 +00:00
|
|
|
.default_str = " \"#{=21:pane_title}\" %H:%M %d-%b-%y"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-right-attr",
|
|
|
|
.type = OPTIONS_TABLE_ATTRIBUTES,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "status-right-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-right-bg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "status-right-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-right-fg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "status-right-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-right-length",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = SHRT_MAX,
|
|
|
|
.default_num = 40
|
|
|
|
},
|
|
|
|
|
2014-01-28 23:07:09 +00:00
|
|
|
{ .name = "status-right-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_str = "default"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "status-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_str = "bg=green,fg=black"
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "update-environment",
|
2017-01-24 20:15:32 +00:00
|
|
|
.type = OPTIONS_TABLE_ARRAY,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_str = "DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID "
|
2011-05-22 16:25:02 +00:00
|
|
|
"SSH_CONNECTION WINDOWID XAUTHORITY"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "visual-activity",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "visual-bell",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "visual-silence",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
2011-11-25 13:33:04 +00:00
|
|
|
{ .name = "word-separators",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_SESSION,
|
2011-11-25 13:33:04 +00:00
|
|
|
.default_str = " -_@"
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "aggressive-resize",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
2012-01-20 21:18:39 +00:00
|
|
|
{ .name = "allow-rename",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2012-01-20 21:18:39 +00:00
|
|
|
.default_num = 1
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "alternate-screen",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 1
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "automatic-rename",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 1
|
|
|
|
},
|
|
|
|
|
2013-08-19 21:16:11 +00:00
|
|
|
{ .name = "automatic-rename-format",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-04-17 12:57:28 +00:00
|
|
|
.default_str = "#{?pane_in_mode,[tmux],#{pane_current_command}}"
|
|
|
|
"#{?pane_dead,[dead],}"
|
2013-08-19 21:16:11 +00:00
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "clock-mode-colour",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 4
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "clock-mode-style",
|
|
|
|
.type = OPTIONS_TABLE_CHOICE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.choices = options_table_clock_mode_style_list,
|
|
|
|
.default_num = 1
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "force-height",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "force-width",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "main-pane-height",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 1,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 24
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "main-pane-width",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 1,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 80
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "mode-attr",
|
|
|
|
.type = OPTIONS_TABLE_ATTRIBUTES,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "mode-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "mode-bg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 3,
|
|
|
|
.style = "mode-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "mode-fg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "mode-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "mode-keys",
|
|
|
|
.type = OPTIONS_TABLE_CHOICE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.choices = options_table_mode_keys_list,
|
|
|
|
.default_num = MODEKEY_EMACS
|
|
|
|
},
|
|
|
|
|
2014-01-28 23:07:09 +00:00
|
|
|
{ .name = "mode-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_str = "bg=yellow,fg=black"
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "monitor-activity",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "monitor-silence",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "other-pane-height",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "other-pane-width",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = INT_MAX,
|
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
2015-02-06 15:09:34 +00:00
|
|
|
{ .name = "pane-active-border-bg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2015-02-06 15:09:34 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "pane-active-border-style"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "pane-active-border-fg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2015-02-06 15:09:34 +00:00
|
|
|
.default_num = 2,
|
|
|
|
.style = "pane-active-border-style"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "pane-active-border-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2015-02-06 15:09:34 +00:00
|
|
|
.default_str = "fg=green"
|
|
|
|
},
|
|
|
|
|
2011-08-25 21:13:45 +00:00
|
|
|
{ .name = "pane-base-index",
|
|
|
|
.type = OPTIONS_TABLE_NUMBER,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-08-25 21:13:45 +00:00
|
|
|
.minimum = 0,
|
|
|
|
.maximum = USHRT_MAX,
|
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
2015-02-06 15:09:34 +00:00
|
|
|
{ .name = "pane-border-bg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2015-02-06 15:09:34 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "pane-border-style"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "pane-border-fg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2015-02-06 15:09:34 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "pane-border-style"
|
|
|
|
},
|
|
|
|
|
2016-04-29 15:00:48 +00:00
|
|
|
{ .name = "pane-border-format",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2016-05-04 21:29:47 +00:00
|
|
|
.default_str = "#{?pane_active,#[reverse],}#{pane_index}#[default] "
|
|
|
|
"\"#{pane_title}\""
|
2016-04-29 15:00:48 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "pane-border-status",
|
|
|
|
.type = OPTIONS_TABLE_CHOICE,
|
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
|
|
|
.choices = options_table_pane_status_list,
|
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
2015-02-06 15:09:34 +00:00
|
|
|
{ .name = "pane-border-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2015-02-06 15:09:34 +00:00
|
|
|
.default_str = "default"
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "remain-on-exit",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "synchronize-panes",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2011-01-03 23:52:38 +00:00
|
|
|
.default_num = 0
|
|
|
|
},
|
|
|
|
|
2015-04-19 21:05:27 +00:00
|
|
|
{ .name = "window-active-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2015-04-19 21:05:27 +00:00
|
|
|
.default_str = "default"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2015-04-19 21:05:27 +00:00
|
|
|
.default_str = "default"
|
|
|
|
},
|
|
|
|
|
2012-02-15 19:32:39 +00:00
|
|
|
{ .name = "window-status-activity-attr",
|
2011-01-03 23:52:38 +00:00
|
|
|
.type = OPTIONS_TABLE_ATTRIBUTES,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = GRID_ATTR_REVERSE,
|
|
|
|
.style = "window-status-activity-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
2012-02-15 19:32:39 +00:00
|
|
|
{ .name = "window-status-activity-bg",
|
2011-01-03 23:52:38 +00:00
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "window-status-activity-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
2012-02-15 19:32:39 +00:00
|
|
|
{ .name = "window-status-activity-fg",
|
2012-01-20 21:20:35 +00:00
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "window-status-activity-style"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-status-activity-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_str = "reverse"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-status-attr",
|
|
|
|
.type = OPTIONS_TABLE_ATTRIBUTES,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "window-status-style"
|
2012-01-20 21:20:35 +00:00
|
|
|
},
|
|
|
|
|
2012-02-15 19:32:39 +00:00
|
|
|
{ .name = "window-status-bell-attr",
|
2012-01-20 21:20:35 +00:00
|
|
|
.type = OPTIONS_TABLE_ATTRIBUTES,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = GRID_ATTR_REVERSE,
|
|
|
|
.style = "window-status-bell-style"
|
2012-01-20 21:20:35 +00:00
|
|
|
},
|
|
|
|
|
2012-02-15 19:32:39 +00:00
|
|
|
{ .name = "window-status-bell-bg",
|
2012-01-20 21:20:35 +00:00
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "window-status-bell-style"
|
2012-01-20 21:20:35 +00:00
|
|
|
},
|
|
|
|
|
2012-02-15 19:32:39 +00:00
|
|
|
{ .name = "window-status-bell-fg",
|
2012-01-20 21:20:35 +00:00
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "window-status-bell-style"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-status-bell-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_str = "reverse"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-status-bg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "window-status-style"
|
2012-01-20 21:20:35 +00:00
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "window-status-current-attr",
|
|
|
|
.type = OPTIONS_TABLE_ATTRIBUTES,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "window-status-current-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-status-current-bg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "window-status-current-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-status-current-fg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "window-status-current-style"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-status-current-format",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2015-05-06 08:35:39 +00:00
|
|
|
.default_str = "#I:#W#{?window_flags,#{window_flags}, }"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
2014-01-28 23:07:09 +00:00
|
|
|
{ .name = "window-status-current-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_str = "default"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-status-fg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "window-status-style"
|
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-status-format",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2015-05-06 08:35:39 +00:00
|
|
|
.default_str = "#I:#W#{?window_flags,#{window_flags}, }"
|
2014-01-28 23:07:09 +00:00
|
|
|
},
|
|
|
|
|
2012-11-27 13:52:23 +00:00
|
|
|
{ .name = "window-status-last-attr",
|
|
|
|
.type = OPTIONS_TABLE_ATTRIBUTES,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 0,
|
|
|
|
.style = "window-status-last-style"
|
2012-11-27 13:52:23 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-status-last-bg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "window-status-last-style"
|
2012-11-27 13:52:23 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = "window-status-last-fg",
|
|
|
|
.type = OPTIONS_TABLE_COLOUR,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_num = 8,
|
|
|
|
.style = "window-status-last-style"
|
2012-11-27 13:52:23 +00:00
|
|
|
},
|
|
|
|
|
2014-01-28 23:07:09 +00:00
|
|
|
{ .name = "window-status-last-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_str = "default"
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
2012-04-24 16:20:18 +00:00
|
|
|
{ .name = "window-status-separator",
|
|
|
|
.type = OPTIONS_TABLE_STRING,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2012-04-24 16:20:18 +00:00
|
|
|
.default_str = " "
|
|
|
|
},
|
|
|
|
|
2014-01-28 23:07:09 +00:00
|
|
|
{ .name = "window-status-style",
|
|
|
|
.type = OPTIONS_TABLE_STYLE,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2014-01-28 23:07:09 +00:00
|
|
|
.default_str = "default"
|
|
|
|
},
|
|
|
|
|
2012-03-18 02:12:24 +00:00
|
|
|
{ .name = "wrap-search",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2012-03-18 02:12:24 +00:00
|
|
|
.default_num = 1
|
|
|
|
},
|
|
|
|
|
2011-01-03 23:52:38 +00:00
|
|
|
{ .name = "xterm-keys",
|
|
|
|
.type = OPTIONS_TABLE_FLAG,
|
2015-11-20 12:01:19 +00:00
|
|
|
.scope = OPTIONS_TABLE_WINDOW,
|
2016-12-30 13:49:34 +00:00
|
|
|
.default_num = 1
|
2011-01-03 23:52:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{ .name = NULL }
|
|
|
|
};
|