diff options
| author | simonmar <unknown> | 2003-09-24 10:32:12 +0000 |
|---|---|---|
| committer | simonmar <unknown> | 2003-09-24 10:32:12 +0000 |
| commit | 8fb92f95a80f57c9e6737755881bd08c701a42eb (patch) | |
| tree | 99ca88f07d6632e42f57a2efe43b11fe8cfcbdc7 /ghc/compiler/parser/Lexer.x | |
| parent | cf6845428c2bd19c6e52d3a7577e2d2bfe55f95c (diff) | |
| download | haskell-8fb92f95a80f57c9e6737755881bd08c701a42eb.tar.gz | |
[project @ 2003-09-24 10:32:11 by simonmar]
If we change the terminal settings as a result of hSetBuffering or
hSetEcho, then restore them again in hs_exit(). This is just good
citizenship on Unixy platforms.
We *don't* just automatically save the terminal settings and restore
them at the end, because that would prevent implementing stty-like
programs in Haskell. This scheme is a compromise that hopefully DTRT
in most cases.
Diffstat (limited to 'ghc/compiler/parser/Lexer.x')
0 files changed, 0 insertions, 0 deletions
