Schjaer
2008-08-22 11:51:35 UTC
Hi group
After exiting a DOS program that manipulates the screen colors I sometimes
(but not always) don't get the same colors back that existed before invoking
the program. I have tried to save then restore TextAttr within the program
but that seems to have no effect. I have observed this in both Turbo Pascal
7.0 and FreePascal. It seems to be a question of sheer luck if the original
screen colors are restored or not at exit. Any suggestions?
Jorgen
After exiting a DOS program that manipulates the screen colors I sometimes
(but not always) don't get the same colors back that existed before invoking
the program. I have tried to save then restore TextAttr within the program
but that seems to have no effect. I have observed this in both Turbo Pascal
7.0 and FreePascal. It seems to be a question of sheer luck if the original
screen colors are restored or not at exit. Any suggestions?
Jorgen