Mercurial > emacs
comparison src/term.c @ 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 | bb7557f86f5b |
children | b590724d8c48 |
comparison
equal
deleted
inserted
replaced
30820:4b32734572d8 | 30821:593b589de709 |
---|---|
1056 { | 1056 { |
1057 (*write_glyphs_hook) (string, len); | 1057 (*write_glyphs_hook) (string, len); |
1058 return; | 1058 return; |
1059 } | 1059 } |
1060 | 1060 |
1061 highlight_if_desired (); | |
1062 turn_off_insert (); | 1061 turn_off_insert (); |
1063 | 1062 |
1064 /* Don't dare write in last column of bottom line, if Auto-Wrap, | 1063 /* Don't dare write in last column of bottom line, if Auto-Wrap, |
1065 since that would scroll the whole frame on some terminals. */ | 1064 since that would scroll the whole frame on some terminals. */ |
1066 | 1065 |
1086 for (n = 1; n < len; ++n) | 1085 for (n = 1; n < len; ++n) |
1087 if (string[n].face_id != face_id) | 1086 if (string[n].face_id != face_id) |
1088 break; | 1087 break; |
1089 | 1088 |
1090 /* Turn appearance modes of the face of the run on. */ | 1089 /* Turn appearance modes of the face of the run on. */ |
1090 highlight_if_desired (); | |
1091 turn_on_face (f, face_id); | 1091 turn_on_face (f, face_id); |
1092 | 1092 |
1093 while (n > 0) | 1093 while (n > 0) |
1094 { | 1094 { |
1095 /* We use a shared conversion buffer of the current size | 1095 /* We use a shared conversion buffer of the current size |
2080 || face->tty_underline_p) | 2080 || face->tty_underline_p) |
2081 OUTPUT1_IF (TS_exit_attribute_mode); | 2081 OUTPUT1_IF (TS_exit_attribute_mode); |
2082 | 2082 |
2083 if (face->tty_alt_charset_p) | 2083 if (face->tty_alt_charset_p) |
2084 OUTPUT_IF (TS_exit_alt_charset_mode); | 2084 OUTPUT_IF (TS_exit_alt_charset_mode); |
2085 | |
2086 if (standout_mode) | |
2087 standout_mode = 0; | |
2085 } | 2088 } |
2086 else | 2089 else |
2087 { | 2090 { |
2088 /* If we don't have "me" we can only have those appearances | 2091 /* If we don't have "me" we can only have those appearances |
2089 that have exit sequences defined. */ | 2092 that have exit sequences defined. */ |