forked from GitHub/gf-core
conditional support for haskeline, readline and editline
This commit is contained in:
@@ -16,10 +16,18 @@
|
||||
|
||||
module GF.System.Readline (fetchCommand, setCompletionFunction, filenameCompletionFunction) where
|
||||
|
||||
#ifdef USE_READLINE
|
||||
#ifdef USE_HASKELINE
|
||||
|
||||
import GF.System.UseHaskeline
|
||||
|
||||
#elif USE_READLINE
|
||||
|
||||
import GF.System.UseReadline
|
||||
|
||||
#elif USE_EDITLINE
|
||||
|
||||
import GF.System.UseEditline
|
||||
|
||||
#else
|
||||
|
||||
import GF.System.NoReadline
|
||||
|
||||
Reference in New Issue
Block a user