diff options
author | 2009-08-03 14:10:54 +0000 | |
---|---|---|
committer | 2009-08-03 14:10:54 +0000 | |
commit | 5e07382cd681c6010984cb5c257ad32c21ab73bd (patch) | |
tree | 29acd5f3b59026f5b65142a20f2285385edc4a97 /usr.bin/tmux/tmux.c | |
parent | Make announce "self" work like all others (self is a bit special because (diff) | |
download | wireguard-openbsd-5e07382cd681c6010984cb5c257ad32c21ab73bd.tar.xz wireguard-openbsd-5e07382cd681c6010984cb5c257ad32c21ab73bd.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 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index 8ff1d6d089a..2054309155d 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.24 2009/07/30 07:04:50 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.25 2009/08/03 14:10:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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); |