summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-09-25 23:30:25 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-09-25 23:30:25 +0000
commitf606d375bff7458d5eea904f7a3ca350a7e05704 (patch)
tree63ac7ae4e37a05ce0c83b080c11cbe2d0e9a5a91
parentc31ad6e37725171169e916f7c9da090d64d732ca (diff)
Adding colors=256 to *256color* was always pretty stupid and now it
won't work (without adding setaf@:setab@ too).
-rw-r--r--usr.bin/tmux/options-table.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c
index b9f374280c5..461fa093d26 100644
--- a/usr.bin/tmux/options-table.c
+++ b/usr.bin/tmux/options-table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options-table.c,v 1.62 2015/08/28 12:31:55 nicm Exp $ */
+/* $OpenBSD: options-table.c,v 1.63 2015/09/25 23:30:24 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -107,8 +107,7 @@ const struct options_table_entry server_options_table[] = {
{ .name = "terminal-overrides",
.type = OPTIONS_TABLE_STRING,
- .default_str = "*256col*:colors=256"
- ",xterm*:XT:Ms=\\E]52;%p1%s;%p2%s\\007"
+ .default_str = "xterm*:XT:Ms=\\E]52;%p1%s;%p2%s\\007"
":Cs=\\E]12;%p1%s\\007:Cr=\\E]112\\007"
":Ss=\\E[%p1%d q:Se=\\E[2 q,screen*:XT"
},