sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit a5a1e39034204ac4b05c9171a71164712690b010
parent 9ca17f1c487baaaa2484bedb962f8214d0ae9c03
Author: Gaute Hope <eg@gaute.vetsj.com>
Date:   Sat, 30 Nov 2013 14:23:52 +0100

fix_encoding in text_mode

Diffstat:
M 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
@@ -46,7 +46,7 @@ class TextMode < ScrollMode
 
   def << line
     @lines = [0] if @text.empty?
-    @text << line
+    @text << line.fix_encoding!
     @lines << @text.length
     if buffer
       ensure_mode_validity