aboutsummaryrefslogtreecommitdiffstats
path: root/XPrompt.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-14Use maskEvent rather than nextEvent. Fixes rare segfaultsSpencer Janssen1-1/+1
darcs-hash:20070814170416-a5988-dd4a3197f2442953ece2075a39b18d3372b313ba.gz
2007-08-10actually use the selected font in XPrompt.David Roundy1-0/+1
darcs-hash:20070810174543-72aca-37b0aba755e79a399b0cbe2e972f0f445752fc88.gz
2007-08-10increase default contrast in XPrompt.David Roundy1-2/+2
darcs-hash:20070810174724-72aca-20d1d02d461da8cf5c1fbfb8fb6299d3f7fc6551.gz
2007-08-10center prompt text in window.David Roundy1-1/+1
darcs-hash:20070810173746-72aca-add5457dcb36c22bed178f9db5ae560229912d2d.gz
2007-08-10don't crash when given a non-existent font in XPrompt.David Roundy1-1/+2
darcs-hash:20070810170445-72aca-1784272b5a0036ed007916221840c73436650ef2.gz
2007-08-06XPrompt: removed touchFile (which is not the equivalent of touch!)Andrea Rossato1-2/+1
darcs-hash:20070805225906-32816-0f38508090df958660a6399ee3281037d3c7b131.gz
2007-08-05XPrompt.hs: getCompletion should check for completions of the last word of ↵Andrea Rossato1-2/+2
the command line darcs-hash:20070805124130-32816-c6ccb1937ad290dba4a488453ebded844e464bbb.gz
2007-08-04XPrompt.hs: read history lazilyAndrea Rossato1-32/+23
Instead of forcing the reading of all the history file we read it lazily. darcs-hash:20070804185914-32816-ff8f258a66c610d837e4fa01695baf6f52a17ada.gz
2007-08-04XPrompt.hs: removed defaultPromptConfig. use defautlXPConfig insteadAndrea Rossato1-4/+0
darcs-hash:20070804183252-32816-6ef986de551cf0579b4e39cef52ec53cbc91cbf9.gz
2007-08-04XPrompt.hs: haddock corrections and some commentsAndrea Rossato1-10/+12
darcs-hash:20070804104622-32816-15ca269926147136c45966d812d018151833ef5c.gz
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