From 0dacf4150a679bfff6c7e50d252e335ad9a10d17 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 17 Dec 2004 15:19:53 +0000 Subject: [PATCH] [project @ 2004-12-17 15:19:53 by simonmar] Add comment about Ctrl-C/Ctrl-Break issue --- ghc/compiler/utils/Panic.lhs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ghc/compiler/utils/Panic.lhs b/ghc/compiler/utils/Panic.lhs index cb1a684..7e8b1eb 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 () -- 1.7.10.4