readline package with libedit
judah.jacobson at gmail.com
Wed Jan 9 12:10:11 EST 2008
On Jan 9, 2008 12:59 AM, Christian Maeder <Christian.Maeder at dfki.de> wrote:
> By the way I've the following lines in my ~/.ghci
> :m +System.Console.Readline Data.List
> getCompleterWordBreakCharacters >>= setCompleterWordBreakCharacters .
> Data.List.delete '/'
> :m -System.Console.Readline Data.List
> Does this work with libedit, too?
Hm... It runs, but doesn't have any effect. It looks like you need to
use setBasicWordBreakCharacters instead of
setCompleterWordBreakCharacters. (ghci sets both, which is why I
didn't notice this before.)
Note that with my fix to #998 (sent to cvs-ghc), that hack should no
longer be necessary.
More information about the Glasgow-haskell-users