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
parent 20da8c9400
commit 8f446eb541

View File

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