Solves the issue where line wrapping is not turned back on

This commit is contained in:
sloum 2020-04-14 18:26:03 +00:00
parent 23bc3d75a5
commit cdfec887fd
1 changed files with 1 additions and 1 deletions

View File

@ -56,8 +56,8 @@ func Exit(exitCode int, msg string) {
// InitTerm sets the terminal modes appropriate for Bombadillo // InitTerm sets the terminal modes appropriate for Bombadillo
func InitTerm() { func InitTerm() {
SetCharMode() SetCharMode()
Tput("rmam") // turn off line wrapping
Tput("smcup") // use alternate screen Tput("smcup") // use alternate screen
Tput("rmam") // turn off line wrapping
} }
// CleanupTerm reverts changs to terminal mode made by InitTerm // CleanupTerm reverts changs to terminal mode made by InitTerm