From 9394baacbfcc8f70f53cf35f784b92d641d6213b Mon Sep 17 00:00:00 2001 From: wmorgan Date: Sat, 30 Dec 2006 15:15:00 +0000 Subject: [PATCH] normalize whitespace git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@122 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- lib/sup/modes/text-mode.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sup/modes/text-mode.rb b/lib/sup/modes/text-mode.rb index f495219..be3bc11 100644 --- a/lib/sup/modes/text-mode.rb +++ b/lib/sup/modes/text-mode.rb @@ -4,7 +4,7 @@ class TextMode < ScrollMode attr_reader :text def initialize text="" - @text = text + @text = text.normalize_whitespace update_lines buffer.mark_dirty if buffer super() -- 2.43.0