tterm: reset terminal attributes in term_init() - neatvi - [fork] simple vi-type editor with UTF-8 support
git clone git://src.adamsgaard.dk/neatvi
Log
Files
Refs
README
---
commit 733ab28c663f58da7672046120e7cb1745c8fe79
parent e7c90ca9615b1a90035d3b607ca09cb2a538fcd5
Author: Ali Gholami Rudi 
Date:   Mon, 15 Jun 2015 20:05:05 +0430

tterm: reset terminal attributes in term_init()

Reported by Christian Neukirchen .

Diffstat:
  M term.c                              |       1 +

1 file changed, 1 insertion(+), 0 deletions(-)
---
diff --git a/term.c b/term.c
t@@ -31,6 +31,7 @@ void term_init(void)
         }
         cols = cols ? cols : 80;
         rows = rows ? rows : 25;
+        term_str("\33[m");
 }
 
 void term_done(void)