summaryrefslogtreecommitdiffstats
path: root/handler.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-11-08 00:29:19 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-11-08 00:29:19 +0000
commitbc32c02f776638aaecccf707d8c10e296c49cb8d (patch)
treef0c976d62470181db1c905ab80f30ccaded89067 /handler.c
parent8aa0fc83deafd8e6cea444d39bee1c35c2dd851b (diff)
Use a slightly different reset sequence for the format=flowed hack,
and don't send any such sequence when we aren't in the internal pager.
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/handler.c b/handler.c
index 64fe64db..2132eea0 100644
--- a/handler.c
+++ b/handler.c
@@ -928,8 +928,8 @@ static void flowed_stuff (STATE *s, char *cont, int level)
* some text on the line which looks like it's quoted, turn off
* ANSI colors, so quote coloring doesn't affect this line.
*/
- if (*cont && !level && flowed_maybe_quoted (cont))
- state_puts ("\033[0;m",s);
+ if (*cont && !level && !mutt_strcmp (Pager, "builtin") && flowed_maybe_quoted (cont))
+ state_puts ("\033[0m",s);
}
else if ((*cont == ' ') || (*cont == '>') || (!level && !mutt_strncmp (cont, "From ", 5)))
state_putc (' ', s);