Properly use the terminal module

The documentation for terminal says

> Changing the style is permanent even after program termination! Use the code
> `system.addQuitProc(resetAttributes)` to restore the defaults.
This commit is contained in:
Flaviu Tamas 2015-01-05 21:54:06 -05:00
commit 8f446eb541

View file

@ -209,3 +209,5 @@ if envOutLvl.len > 0:
if $opt == envOutLvl:
outputLevel = opt
break
system.addQuitProc(resetAttributes)