options_get_number
if (options_get_number(w->options, "monitor-bell"))
if (options_get_number(w->options, "monitor-activity"))
if (options_get_number(w->options, "monitor-silence") != 0)
tv.tv_sec = options_get_number(w->options, "monitor-silence");
if (!options_get_number(w->options, "monitor-bell"))
if (!options_get_number(w->options, "monitor-activity"))
if (options_get_number(w->options, "monitor-silence") == 0)
visual = options_get_number(wl->session->options, option);
action = options_get_number(wl->session->options, name);
idx = -1 - options_get_number(dst_s->options, "base-index");
position = options_get_number(s->options, "status-position");
position = options_get_number(s->options, "status-position");
prefix = options_get_number(global_s_options, "prefix");
if (!sflag && options_get_number(src->options, "renumber-windows"))
if (sy > 0 && options_get_number(global_s_options, "status"))
key = options_get_number(s->options, "prefix2");
key = options_get_number(s->options, "prefix");
if (options_get_number(ft->wp->options, "synchronize-panes"))
if (options_get_number(w->options, "window-size") != WINDOW_SIZE_MANUAL)
if (options_get_number(w->options, "window-size") != WINDOW_SIZE_MANUAL)
if (options_get_number(global_options, "extended-keys-format") == 1)
newkey = options_get_number(global_options, "backspace");
ek = options_get_number(global_options, "extended-keys");
if (options_get_number(global_options, "extended-keys") == 2)
p = options_get_number(oo, "cursor-style");
opt_ps = options_get_number(oo, "cursor-style");
allow_passthrough = options_get_number(oo, "allow-passthrough");
options_get_number(wp->options, "allow-set-title") &&
options_get_number(wp->options, "allow-set-title") &&
if (!options_get_number(ictx->wp->options, "allow-rename"))
if (!options_get_number(w->options, "automatic-rename"))
state = options_get_number(global_options, "get-clipboard");
if (options_get_number(global_options, "set-clipboard") != 2)
state = options_get_number(global_options, "get-clipboard");
max_columns = options_get_number(oo, "tiled-layout-max-columns");
lines = options_get_number(o, "menu-border-lines");
mtd->prompt_top = options_get_number(oo, "status-position") == 0;
if (!options_get_number(w->options, "automatic-rename"))
flag = !options_get_number(oo, name);
choice = options_get_number(oo, name);
if (options_get_number(w->options, name))
w->sb = options_get_number(w->options,
w->sb_pos = options_get_number(w->options,
input_set_buffer_size(options_get_number(global_options, name));
limit = options_get_number(global_options, "buffer-limit");
lines = options_get_number(o, "popup-border-lines");
hlimit = options_get_number(global_options, "prompt-history-limit");
n = options_get_number(oo, "prompt-cursor-style");
n = options_get_number(oo, "prompt-command-cursor-style");
pd->keys = options_get_number(oo, "status-keys");
type = options_get_number(global_w_options, "window-size");
type = options_get_number(w->options, "window-size");
current = options_get_number(w->options, "aggressive-resize");
dctx->pane_lines = options_get_number(oo, "pane-border-lines");
if (options_get_number(oo, "status-position") == 0)
bctx->ind = options_get_number(w->options, "pane-border-indicators");
options_get_number(ctx->wp->options, "scroll-on-clear"))
options_get_number(ctx->wp->options, "scroll-on-clear"))
if (options_get_number(oo, "variation-selector-always-wide"))
if (wp != NULL && !options_get_number(wp->options, "alternate-screen"))
if (wp != NULL && !options_get_number(wp->options, "alternate-screen"))
if (options_get_number(global_options, "extended-keys") == 2)
if (options_get_number(global_options, "extended-keys") == 2)
c = options_get_number(oo, "cursor-style");
options_get_number(s->options, "focus-follows-mouse")) {
option = options_get_number(global_options, "theme");
if ((t = options_get_number(s->options, "assume-paste-time")) == 0)
if (options_get_number(w->options, "window-size") == WINDOW_SIZE_LATEST)
repeat = options_get_number(s->options, "repeat-time");
initial = options_get_number(s->options, "initial-repeat-time");
if (KEYC_IS_MOUSE(key) && !options_get_number(s->options, "mouse"))
prefix = (key_code)options_get_number(s->options, "prefix");
prefix2 = (key_code)options_get_number(s->options, "prefix2");
prefix_delay = options_get_number(global_options, "prefix-timeout");
options_get_number(wp->options, "remain-on-exit") == 3) {
if (options_get_number(oo, "mouse")) {
if (options_get_number(oo, "focus-follows-mouse") ||
if (options_get_number(s->options, "set-titles")) {
if (options_get_number(s->options, "renumber-windows")) {
dstidx = -1 - options_get_number(dst->options, "base-index");
remain_on_exit = options_get_number(wp->options, "remain-on-exit");
detach_on_destroy = options_get_number(s->options, "detach-on-destroy");
switch (options_get_number(s->options, "destroy-unattached")) {
if (!options_get_number(global_options, "exit-empty") && !server_exit)
if (!options_get_number(global_options, "exit-unattached")) {
limit = options_get_number(global_options, "message-limit");
tv.tv_sec = options_get_number(s->options, "lock-after-time");
if (options_get_number(global_options, "focus-events")) {
new_idx = options_get_number(s->options, "base-index");
limit = options_get_number(s->options, "history-limit");
idx = -1 - options_get_number(s->options, "base-index");
hlimit = options_get_number(s->options, "history-limit");
key = options_get_number(global_options, "backspace");
return (options_get_number(global_s_options, "status"));
line = options_get_number(s->options, "message-line");
fg = options_get_number(s->options, "status-fg");
bg = options_get_number(s->options, "status-bg");
delay = options_get_number(c->session->options, "display-time");
tv.tv_sec = options_get_number(s->options, "status-interval");
if (options_get_number(c->session->options, "status-position") == 0)
if (s != NULL && options_get_number(s->options, "status"))
s->statuslines = options_get_number(s->options, "status");
else if (options_get_number(s->options, "status-position") == 0)
long long options_get_number(struct options *, const char *);
delay = options_get_number(global_options, "escape-time");
if (options_get_number(global_options, "extended-keys"))
if (options_get_number(global_options, "focus-events"))
style = options_get_number(w->options, "clock-mode-style");
if (options_get_number(wp->window->options, "mode-keys") == MODEKEY_VI)
keys = options_get_number(wp->window->options, "mode-keys");
wrapflag = options_get_number(wp->window->options, "wrap-search");
keys = options_get_number(wp->window->options, "mode-keys");
keys = options_get_number(wp->window->options, "mode-keys");
mode = options_get_number(oo, "copy-mode-line-numbers");
else if (force && options_get_number(oo, "copy-mode-line-numbers") ==
data->modekeys = options_get_number(wp->window->options, "mode-keys");
keys = options_get_number(wp->window->options, "mode-keys");
options_get_number(global_options, "set-clipboard") != 0) {
if (options_get_number(global_options, "set-clipboard") != 0) {
options_get_number(oo, "mode-keys") != MODEKEY_VI)
onemore = (options_get_number(oo, "mode-keys") != MODEKEY_VI);
if (scroll_only && options_get_number(oo, "mode-keys") == MODEKEY_VI) {
if (scroll_only && options_get_number(oo, "mode-keys") == MODEKEY_VI) {
onemore = (options_get_number(oo, "mode-keys") != MODEKEY_VI);
if (options_get_number(oo, "mode-keys") == MODEKEY_VI) {
if (options_get_number(oo, "mode-keys") == MODEKEY_VI) {
if (options_get_number(w->options, "mode-keys") == MODEKEY_EMACS)
gc.fg = options_get_number(item->oo, name);
flag = options_get_number(oo, name);
choice = options_get_number(oo, name);
delay = options_get_number(w->options, "display-panes-time");
n = options_get_number(w->options, "pane-base-index");
*i = options_get_number(w->options, "pane-base-index");
options_get_number(loop->options, "synchronize-panes")) {
options_get_number(loop->options, "synchronize-panes"))
if (options_get_number(wp->options, "synchronize-panes"))
if (options_get_number(wp->options, "synchronize-panes"))
delay = options_get_number(wp->window->options,
return (options_get_number(oo, "pane-border-lines"));
return (options_get_number(oo, "pane-border-lines"));
status = options_get_number(w->options, "pane-border-status");
status = options_get_number(wp->options, "pane-border-status");
w->sb = options_get_number(w->options, "pane-scrollbars");
w->sb_pos = options_get_number(w->options, "pane-scrollbars-position");
if (options_get_number(global_options, "focus-events")) {