summaryrefslogtreecommitdiff
path: root/src/compiler/GF/System/Readline.hs
blob: ee38cdc0ba38c3664c1f9f92ba14c9fc8e948f4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{-# 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_HASKELINE

import GF.System.UseHaskeline

#elif USE_READLINE

import GF.System.UseReadline

#elif USE_EDITLINE

import GF.System.UseEditline

#else

import GF.System.NoReadline

#endif