diff options
Diffstat (limited to 'filters/plaintext')
-rwxr-xr-x | filters/plaintext | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/filters/plaintext b/filters/plaintext index 71e33f7..cfaa170 100755 --- a/filters/plaintext +++ b/filters/plaintext @@ -5,6 +5,9 @@ BEGIN { reset = "\x1B[0m" } { + # Strip carriage returns from line + gsub(/\r/, "", $0) + if ($0 ~ /^On .*, .* wrote:/ || $0 ~ /^>+/) { print dim cyan $0 reset } else { |