=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty-term.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/tmux/tty-term.c 2009/10/24 21:18:33 1.11 --- src/usr.bin/tmux/tty-term.c 2009/10/25 21:11:21 1.12 *************** *** 1,4 **** ! /* $OpenBSD: tty-term.c,v 1.11 2009/10/24 21:18:33 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tty-term.c,v 1.12 2009/10/25 21:11:21 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott *************** *** 347,363 **** "terminal does not support ich1 or ich or smir and rmir"); goto error; } - - /* - * Figure out if terminal support default colours. AX is a screen - * extension which indicates this. Also check if op (orig_pair) uses - * the default colours - if it does, this is a good indication the - * terminal supports them. - */ - if (tty_term_flag(term, TTYC_AX)) - term->flags |= TERM_HASDEFAULTS; - if (strcmp(tty_term_string(term, TTYC_OP), "\033[39;49m") == 0) - term->flags |= TERM_HASDEFAULTS; /* Figure out if we have 256 or 88 colours. */ if (tty_term_number(term, TTYC_COLORS) == 256) --- 347,352 ----