aboutsummaryrefslogtreecommitdiff
path: root/tmux.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 /tmux.c
parente4bb08e1f5ebf47620758795efcbdd61849b73e8 (diff)
downloadrtmux-1673735f0271c6f87e6ba0d85d8b4a1d0f2f3d35.tar.gz
rtmux-1673735f0271c6f87e6ba0d85d8b4a1d0f2f3d35.tar.bz2
rtmux-1673735f0271c6f87e6ba0d85d8b4a1d0f2f3d35.zip
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 'tmux.c')
-rw-r--r--tmux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index dd7b83f5..ff1bd4c4 100644
--- a/tmux.c
+++ b/tmux.c
@@ -367,6 +367,8 @@ main(int argc, char **argv)
options_set_number(&global_s_options, "status-utf8", 1);
else
options_set_number(&global_s_options, "status-utf8", 0);
+ options_set_string(&global_s_options,
+ "terminal-overrides", "*88col*:colors=88,*256col*:colors=256");
options_set_number(&global_s_options, "visual-activity", 0);
options_set_number(&global_s_options, "visual-bell", 0);
options_set_number(&global_s_options, "visual-content", 0);