summaryrefslogtreecommitdiff
path: root/src/GF/System/Readline.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/System/Readline.hs')
-rw-r--r--src/GF/System/Readline.hs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/GF/System/Readline.hs b/src/GF/System/Readline.hs
new file mode 100644
index 000000000..db122c3e2
--- /dev/null
+++ b/src/GF/System/Readline.hs
@@ -0,0 +1,27 @@
+{-# OPTIONS -cpp #-}
+
+----------------------------------------------------------------------
+-- |
+-- Module : GF.System.Readline
+-- Maintainer : BB
+-- Stability : (stable)
+-- Portability : (portable)
+--
+-- > CVS $Date: 2005/05/10 15:04:01 $
+-- > CVS $Author: bringert $
+-- > CVS $Revision: 1.2 $
+--
+-- Uses the right readline library to read user input.
+-----------------------------------------------------------------------------
+
+module GF.System.Readline (fetchCommand, setCompletionFunction, filenameCompletionFunction) where
+
+#ifdef USE_READLINE
+
+import GF.System.UseReadline
+
+#else
+
+import GF.System.NoReadline
+
+#endif