aboutsummaryrefslogtreecommitdiffstats
path: root/XPrompt.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* XPrompt: fixes a couple of bugsAndrea Rossato2007-08-041-24/+21
| | | | | | | | | | - we run the action passed to mkXPrompt only if we have a command; - updateWindows must call destroyComplWin if there are no completions; - some comments (more to come) - a shorthand in keyPressHandle - removed all warnings darcs-hash:20070804090817-32816-6440f7fce4d69e6738855c1159384d822a6ab51f.gz
* XPrompt: code cleanupAndrea Rossato2007-08-031-53/+44
| | | | | | | The completion list is not cached anymore: this greatly simplify the code making its runtime behaviour more predictable...;-) Suggested by Spencer. darcs-hash:20070803181905-32816-a9a41a08657fff91a279a1bcf362cf72cc0cd458.gz
* Make 'compList :: [String]', rather than Maybe. No completions is ↵Spencer Janssen2007-08-031-13/+12
| | | | | | represented by [] darcs-hash:20070803160424-a5988-21957dfa7e04db5bab0387d475aacf48e8f0fbc7.gz
* Rename 'setCompletionList' to 'refreshCompletionList'Spencer Janssen2007-08-031-8/+8
| | | | darcs-hash:20070803155942-a5988-f6b022d5e84d49e1999f6bd9da024ee7038d9080.gz
* XPrompt: added comletion and history supportAndrea Rossato2007-08-031-76/+210
| | | | | | | | | This is a long patch the brings us a real prompt, more or less: completions now work. Added history support, with a configuration option: defaul history size is 256. defaultPromptConfig is now deprecated: please use defaultXPConfig instead darcs-hash:20070803154531-32816-a2dfec51e8988173ef8b494e268a4418686658f9.gz
* Make the XPrompt appear on the current screenSpencer Janssen2007-08-021-17/+18
| | | | darcs-hash:20070802184231-a5988-c4c066e6e3091e723b55f22d1d02f09b3fbb257d.gz
* XPrompt: a module for easily writing graphical promptsAndrea Rossato2007-08-021-0/+512
darcs-hash:20070802171552-32816-2fa9aa8feda763ffb7d7ad4e9be344e96318bd5b.gz