1
0
forked from GitHub/gf-core

allow Ctrl+Break in the shell. Works on Windows too.

This commit is contained in:
kr.angelov
2008-05-23 15:16:28 +00:00
parent 64e31a1838
commit e5eda3da55
5 changed files with 142 additions and 1 deletions

View File

@@ -11,6 +11,9 @@ flag readline
Description: Enable Readline in the shell
Default: True
flag interrupt
Description: Enable Ctrl+Break in the shell
Default: True
library
build-depends: base,
@@ -174,3 +177,9 @@ executable gf3
other-modules: GF.System.UseReadline
else
other-modules: GF.System.NoReadline
if flag(interrupt)
ghc-options: -DUSE_INTERRUPT
other-modules: GF.System.UseSignal
else
other-modules: GF.System.NoSignal