diff options
author | simonmar <unknown> | 2004-12-17 15:19:53 +0000 |
---|---|---|
committer | simonmar <unknown> | 2004-12-17 15:19:53 +0000 |
commit | 0dacf4150a679bfff6c7e50d252e335ad9a10d17 (patch) | |
tree | 2aebcfa0e32f4f1a9f2a280d38478ef3e9deb2fd | |
parent | e4efc1a2e261ea0772943d09e61f6c44d00b4004 (diff) | |
download | haskell-0dacf4150a679bfff6c7e50d252e335ad9a10d17.tar.gz |
[project @ 2004-12-17 15:19:53 by simonmar]
Add comment about Ctrl-C/Ctrl-Break issue
-rw-r--r-- | ghc/compiler/utils/Panic.lhs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc/compiler/utils/Panic.lhs b/ghc/compiler/utils/Panic.lhs index cb1a684e93..7e8b1ebedd 100644 --- a/ghc/compiler/utils/Panic.lhs +++ b/ghc/compiler/utils/Panic.lhs @@ -210,6 +210,10 @@ installSignalHandlers = do return () #elif __GLASGOW_HASKELL__ >= 603 -- GHC 6.3+ has support for console events on Windows + -- NOTE: running GHCi under a bash shell for some reason requires + -- you to press Ctrl-Break rather than Ctrl-C to provoke + -- an interrupt. Ctrl-C is getting blocked somewhere, I don't know + -- why --SDM 17/12/2004 let sig_handler ControlC = interrupt sig_handler Break = interrupt sig_handler _ = return () |