summaryrefslogtreecommitdiffstats
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-03 14:10:54 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-03 14:10:54 +0000
commit1673735f0271c6f87e6ba0d85d8b4a1d0f2f3d35 (patch)
tree27a8faaf2b54de7cf47d822da839c6d62368a44a /cmd-set-option.c
parente4bb08e1f5ebf47620758795efcbdd61849b73e8 (diff)
Add a terminal-overrides session option allowing individual terminfo(5) entries
to be overridden. The 88col/256col checks are now moved into the default setting and out of the code. Also remove a couple of old workarounds for xterm and rxvt which are no longer necessary (tmux can emulate them if missing).
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index 2e3ca734..5c2d5870 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -77,7 +77,8 @@ const struct set_option_entry set_option_table[] = {
{ "status-left-length", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL },
{ "status-right", SET_OPTION_STRING, 0, 0, NULL },
{ "status-right-length", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL },
- { "status-utf8", SET_OPTION_FLAG, 0, 0, NULL },
+ { "status-utf8", SET_OPTION_FLAG, 0, 0, NULL },
+ { "terminal-overrides", SET_OPTION_STRING, 0, 0, NULL },
{ "visual-activity", SET_OPTION_FLAG, 0, 0, NULL },
{ "visual-bell", SET_OPTION_FLAG, 0, 0, NULL },
{ "visual-content", SET_OPTION_FLAG, 0, 0, NULL },