changeset 30821:593b589de709

(turn_off_face): Reset standout_mode when resetting apparances with capability `me'. (write_glyphs): Switch on inverse video before each face change.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 15 Aug 2000 15:02:15 +0000
parents 4b32734572d8
children 9a001fb66358
files src/term.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Tue Aug 15 14:29:03 2000 +0000
+++ b/src/term.c	Tue Aug 15 15:02:15 2000 +0000
@@ -1058,7 +1058,6 @@
       return;
     }
 
-  highlight_if_desired ();
   turn_off_insert ();
 
   /* Don't dare write in last column of bottom line, if Auto-Wrap,
@@ -1088,6 +1087,7 @@
 	  break;
 
       /* Turn appearance modes of the face of the run on.  */
+      highlight_if_desired ();
       turn_on_face (f, face_id);
 
       while (n > 0)
@@ -2082,6 +2082,9 @@
 
       if (face->tty_alt_charset_p)
 	OUTPUT_IF (TS_exit_alt_charset_mode);
+
+      if (standout_mode)
+	standout_mode = 0;
     }
   else
     {