forked from GitHub/gf-core
28 lines
635 B
Haskell
28 lines
635 B
Haskell
{-# 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
|