Mercurial > hg > xemacs-beta
diff src/redisplay-tty.c @ 122:d2f30a177268 r20-1b14
Import from CVS: tag r20-1b14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:26:03 +0200 |
parents | 6a378aca36af |
children | 15872534500d |
line wrap: on
line diff
--- a/src/redisplay-tty.c Mon Aug 13 09:25:31 2007 +0200 +++ b/src/redisplay-tty.c Mon Aug 13 09:26:03 2007 +0200 @@ -429,18 +429,16 @@ int y2 = WINDOW_TEXT_BOTTOM (w); unsigned char divv = '|'; - tty_turn_on_face (w, DEFAULT_INDEX); + tty_turn_on_face (w, MODELINE_INDEX); for (line = y1; line < y2; line++) { cmgoto (f, line, WINDOW_TEXT_LEFT (w) - 1); send_string_to_tty_console (c, &divv, 1); TTY_INC_CURSOR_X (c, 1); } - tty_turn_off_face (w, DEFAULT_INDEX); /* Draw the divider in the modeline. */ cmgoto (f, y2, WINDOW_TEXT_LEFT (w) - 1); - tty_turn_on_face (w, MODELINE_INDEX); send_string_to_tty_console (c, &divv, 1); TTY_INC_CURSOR_X (c, 1); tty_turn_off_face (w, MODELINE_INDEX); @@ -922,6 +920,7 @@ if (!CONSOLE_TTY_P (c)) return; + OUTPUT1_IF (c, TTY_SD (c).orig_pair); OUTPUT1_IF (c, TTY_SD (c).keypad_off); OUTPUT1_IF (c, TTY_SD (c).cursor_normal); OUTPUT1_IF (c, TTY_SD (c).end_motion); @@ -1207,6 +1206,7 @@ TTY_SD (c).turn_on_bold = tgetstr ("md", &bufptr); TTY_SD (c).turn_on_dim = tgetstr ("mh", &bufptr); TTY_SD (c).turn_off_attributes = tgetstr ("me", &bufptr); + TTY_SD (c).orig_pair = tgetstr ("op", &bufptr); TTY_SD (c).visual_bell = tgetstr ("vb", &bufptr); TTY_SD (c).audio_bell = tgetstr ("bl", &bufptr);