aboutsummaryrefslogtreecommitdiffstats
path: root/XPrompt.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-04XPrompt: fixes a couple of bugsAndrea Rossato1-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
2007-08-03XPrompt: code cleanupAndrea Rossato1-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
2007-08-03Make 'compList :: [String]', rather than Maybe. No completions is ↵Spencer Janssen1-13/+12
represented by [] darcs-hash:20070803160424-a5988-21957dfa7e04db5bab0387d475aacf48e8f0fbc7.gz
2007-08-03Rename 'setCompletionList' to 'refreshCompletionList'Spencer Janssen1-8/+8
darcs-hash:20070803155942-a5988-f6b022d5e84d49e1999f6bd9da024ee7038d9080.gz
2007-08-03XPrompt: added comletion and history supportAndrea Rossato1-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
2007-08-02Make the XPrompt appear on the current screenSpencer Janssen1-17/+18
darcs-hash:20070802184231-a5988-c4c066e6e3091e723b55f22d1d02f09b3fbb257d.gz
2007-08-02XPrompt: a module for easily writing graphical promptsAndrea Rossato1-0/+512
darcs-hash:20070802171552-32816-2fa9aa8feda763ffb7d7ad4e9be344e96318bd5b.gz