From d0becf6a637f43aaf75e1e03699e02597fd08e11 Mon Sep 17 00:00:00 2001 From: yamadapc Date: Wed, 30 Jul 2014 14:35:19 -0300 Subject: [PATCH] Remove trailing spaces and newlines. This simply removes trailing spaces and '\n' characters left by p0nce's contribution of adding windows support. --- source/colorize/cwrite.d | 1 - source/colorize/winterm.d | 9 +++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/source/colorize/cwrite.d b/source/colorize/cwrite.d index f5e5857..00be507 100644 --- a/source/colorize/cwrite.d +++ b/source/colorize/cwrite.d @@ -71,4 +71,3 @@ void cwrite(S...)(File f, S args) f.write(s); } } - diff --git a/source/colorize/winterm.d b/source/colorize/winterm.d index a10e731..6020595 100644 --- a/source/colorize/winterm.d +++ b/source/colorize/winterm.d @@ -55,7 +55,7 @@ version(Windows) return CharAction.flush; } break; - + case escaped: if (d == '[') { @@ -64,8 +64,8 @@ version(Windows) return CharAction.drop; } break; - - + + case readingAttribute: if (d >= '0' && d <= '9') { @@ -157,6 +157,3 @@ version(Windows) } } } - - -