summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-10-24 21:18:33 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-10-24 21:18:33 +0000
commit385236e967b11889ccd7d7059e5604fe584b1712 (patch)
treec79ef016697564caa9ef5a2932b30397dac2d825 /tty-term.c
parentdf818c1b69aed575d009221cdc4e9dc81135ed6c (diff)
Bring a comment into line with reality.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tty-term.c b/tty-term.c
index 02dece6e..7add7cab 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -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)