about summary refs log tree commit diff
path: root/mcolor
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-06-13 18:07:03 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-06-13 18:07:03 +0200
commitd37aa2bac54db46f1d0add6ee7a07e13578aaf0a (patch)
treeb16f8d864be3a7d4156a2d979313a574d43b756d /mcolor
parentd93871161a1c78ae085ca3a94c385eed74299f15 (diff)
downloadmblaze-d37aa2bac54db46f1d0add6ee7a07e13578aaf0a.tar.gz
mblaze-d37aa2bac54db46f1d0add6ee7a07e13578aaf0a.tar.xz
mblaze-d37aa2bac54db46f1d0add6ee7a07e13578aaf0a.zip
mcolor: add colors for two and three level quotes
Diffstat (limited to 'mcolor')
-rwxr-xr-xmcolor2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcolor b/mcolor
index 2712db3..e88c052 100755
--- a/mcolor
+++ b/mcolor
@@ -19,5 +19,7 @@ ftr { print fg(co("FOOTER",244), $0); next }
 /^-----BEGIN .* MESSAGE-----/ ||
 /^-----END .* SIGNATURE-----/ { print fg(co("SIG",244), $0); sig = 0; next }
 sig { print fg(co("SIG",244), $0); next }
+/^> *> *>/ { print fg(co("QQQUOTE",152), $0); next }
+/^> *>/ { print fg(co("QQUOTE",149), $0); next }
 /^>/ { print fg(co("QUOTE",151), $0); next }
 { nextmail = 0; print }