From cdfec887fd020e3ad670696a281aaa7ae8477d70 Mon Sep 17 00:00:00 2001 From: sloum Date: Tue, 14 Apr 2020 18:26:03 +0000 Subject: [PATCH] Solves the issue where line wrapping is not turned back on --- cui/cui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cui/cui.go b/cui/cui.go index 7f2be9f..676fcc6 100644 --- a/cui/cui.go +++ b/cui/cui.go @@ -56,8 +56,8 @@ func Exit(exitCode int, msg string) { // InitTerm sets the terminal modes appropriate for Bombadillo func InitTerm() { SetCharMode() - Tput("rmam") // turn off line wrapping Tput("smcup") // use alternate screen + Tput("rmam") // turn off line wrapping } // CleanupTerm reverts changs to terminal mode made by InitTerm