summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-10-24 21:18:34 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-10-24 21:18:34 +0000
commit46b901fb240df7cb46eefc43bed9955a2b59ffb7 (patch)
tree3c4ada51c6bfda6d014f4da028a697e6136e28ac /usr.bin/tmux
parent9c88a2c25e2935ed8dbfbe706c8b7dd6ca7ce692 (diff)
Bring a comment into line with reality.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/tty-term.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/tmux/tty-term.c b/usr.bin/tmux/tty-term.c
index 4c7c0c0c2b6..e3895427918 100644
--- a/usr.bin/tmux/tty-term.c
+++ b/usr.bin/tmux/tty-term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-term.c,v 1.10 2009/10/12 13:01:18 nicm Exp $ */
+/* $OpenBSD: tty-term.c,v 1.11 2009/10/24 21:18:33 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -359,11 +359,7 @@ tty_term_find(char *name, int fd, const char *overrides, char **cause)
if (strcmp(tty_term_string(term, TTYC_OP), "\033[39;49m") == 0)
term->flags |= TERM_HASDEFAULTS;
- /*
- * Try to figure out if we have 256 or 88 colours. The standard xterm
- * definitions are broken (well, or the way they are parsed is: in any
- * case they end up returning 8). So also do a hack.
- */
+ /* Figure out if we have 256 or 88 colours. */
if (tty_term_number(term, TTYC_COLORS) == 256)
term->flags |= TERM_256COLOURS;
if (tty_term_number(term, TTYC_COLORS) == 88)