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:
parent
20da8c9400
commit
8f446eb541
1 changed files with 2 additions and 0 deletions
|
|
@ -209,3 +209,5 @@ if envOutLvl.len > 0:
|
|||
if $opt == envOutLvl:
|
||||
outputLevel = opt
|
||||
break
|
||||
|
||||
system.addQuitProc(resetAttributes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue