From: wmorgan Date: Sat, 30 Dec 2006 15:15:00 +0000 (+0000) Subject: normalize whitespace X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=9394baacbfcc8f70f53cf35f784b92d641d6213b;p=sup normalize whitespace git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@122 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- 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()