aboutsummaryrefslogtreecommitdiffstats
path: root/XPrompt.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* HierarchifySpencer Janssen2007-11-011-686/+0
| | | | darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz
* Use hierarchical module names from the coreSpencer Janssen2007-11-011-2/+2
| | | | darcs-hash:20071101182824-a5988-e02ade829d66f49dd6b303b7a797933251c44164.gz
* XPrompt: don't import XMonad.configSpencer Janssen2007-11-011-1/+1
| | | | darcs-hash:20071101074149-a5988-5462a9333e4d79b175e379e723e9c74de4b6187d.gz
* XPrompt: removed unneeded parentesesAndrea Rossato2007-10-271-2/+2
| | | | darcs-hash:20071026221505-32816-6b1d59ea7fe4027f1114113feb9dec54200ba32b.gz
* XPrompt.hs: use a single blankValery V. Vorotyntsev2007-10-221-5/+3
| | | | | | | Excessive blanks in prompts originate from here. Eliminate. :) Rewrite `getLastWord' and `skipLastWord' in pointfree style. darcs-hash:20071022192310-ae588-c707fe405f132fffa448bbe38b44d5c5f8c4d912.gz
* XPrompt: catch exceptions when running the completion functionAndrea Rossato2007-10-261-1/+2
| | | | darcs-hash:20071026211859-32816-b161b40ed1ba2fcca8c32f85fc2de821f10c2fe6.gz
* XPrompt.hs: add sensible bindings for Home and Endgwern02007-10-261-0/+2
| | | | darcs-hash:20071026035026-f7719-d8db907e34e2347c602cdb610f4333790801ac00.gz
* XPrompt.hs: add a pasteString function and keybindinggwern02007-10-261-0/+6
| | | | darcs-hash:20071026034920-f7719-a0521e6998e3641deb7a7fc7a733013fcea73b82.gz
* XPrompt.hs (uniqSort): new functionValery V. Vorotyntsev2007-10-241-0/+6
| | | | | | | Moved from ShellPrompt. There are at least three happy users of this function -- ShellPrompt, SshPrompt, and ManPrompt. darcs-hash:20071024142241-ae588-d6fa3260081982849a235da5b9632216dd954b5d.gz
* XPrompt.hs: fix vertical alignment of completions.Dmitry Kurochkin2007-10-231-1/+1
| | | | darcs-hash:20071023183129-903e8-c13f17ed19adaf76c52dfbf3c416f76b78f1cb0c.gz
* XPrompt.hs (keyPressHandle): Ctrl-g and Ctrl-c added to quit keystrokesValery V. Vorotyntsev2007-10-201-16/+7
| | | | | | Obvious comments removed. darcs-hash:20071020170936-ae588-721702bc4e4d6558c54c858f54a6db2238bcbede.gz
* XPrompt.hs: trailing whitespace cleanedValery V. Vorotyntsev2007-10-201-30/+30
| | | | darcs-hash:20071020170719-ae588-2e8b43ffa1af11c05337a14ee0ed0cf45baf9544.gz
* Haddock fixesAndrea Rossato2007-10-121-4/+4
| | | | darcs-hash:20071012100416-32816-049c57f0dbc5d794db1b66295429ba6cd5b7b160.gz
* Tabbed and XPrompt updated to lates Extras changesAndrea Rossato2007-10-071-3/+2
| | | | darcs-hash:20071007163825-32816-8ebe1d13dff1ac21304138a19b6ae883a54f71c7.gz
* XPrompt: added ^A and ^E and moreAndrea Rossato2007-10-051-73/+83
| | | | | | | | | | | - added ^A (start of line) and ^E (end of line) - added support for escaping spaces (see an example of it's use in the new ShellPrompt) - some code cleanup: I'm now tracking changes to XPrompt also in modified version that supports i18n. This is the reason of some name changes. darcs-hash:20071005112122-32816-797e755161388185fc2db63b03552f59632aca22.gz
* Add ^K and ^U support to XPromptEric Mertens2007-10-021-3/+20
| | | | darcs-hash:20071002210814-b49f3-044f20328be2d3a51ddb2ef0d0e7d8b755af749e.gz
* Use LANGUAGE pragmas over -fglasgow-extsSpencer Janssen2007-09-281-1/+2
| | | | darcs-hash:20070928181614-a5988-85415ed570690a468bf92cdf0f66d69494cecf4e.gz
* XPrompt.hs: replace 'borderWidth' with 'borderPixel'gwern02007-09-181-7/+7
| | | | | | borderWidth is already defined in Config.hs. Thus, if one attempted to use a prompt configuration different than defaultXPConfig, and one defined it in one's Config.hs where it should be, then the borderWidth field would cause a warning by -Wall, since borderWidth is already a name being used by XMonad at large. darcs-hash:20070918162950-f7719-63aede31072155fee70d3d01cb635636ff2a457c.gz
* XPrompt: a very long string in the completion list can lead to a division by ↵Andrea Rossato2007-08-301-1/+1
| | | | | | zero darcs-hash:20070830141524-32816-beeaa150ea23704c1a92f1ac3d533777fcd331e8.gz
* XPrompt.hs: remove debugging bitsAndrea Rossato2007-08-281-1/+0
| | | | darcs-hash:20070828081235-32816-8a73d54e7a91e7d17efb31cd0aee0568a1f53446.gz
* make code more compact in XPrompt.David Roundy2007-08-271-41/+18
| | | | darcs-hash:20070827191830-72aca-4b9995634a6287d18776b6909690428bb481f8cf.gz
* XPrompt: just code formattingAndrea Rossato2007-08-221-26/+26
| | | | darcs-hash:20070822193220-32816-528777cc85fa4f58dd483d8e9a1b4d19c7d85f16.gz
* fix bug leading to early exit in XPrompt.David Roundy2007-08-271-1/+2
| | | | darcs-hash:20070827185858-72aca-b770e1c7723cd4c879200243ef8300f8e5ca85cb.gz
* XPrompt: haddock tuning and more commentsAndrea Rossato2007-08-181-7/+24
| | | | darcs-hash:20070818083423-32816-8de919a2564cfd86d714075c933586e2bc4472a7.gz
* XPrompt: documentation onlyAndrea Rossato2007-08-171-3/+26
| | | | darcs-hash:20070817162806-32816-27fcc934cf5e54222c49dc25062d765977e66469.gz
* XPrompt: quickcheck related refactoringAndrea Rossato2007-08-171-14/+25
| | | | | | | | With this patch XPrompt can be tested with quickcheck. As a result getLastWord and skipLastWord has been refactored to avoid possible exceptions. darcs-hash:20070817155454-32816-cf913d1207efe2c090c150bf192ba737323c4593.gz
* XPrompt: fixes a nasty bug in getLastWordAndrea Rossato2007-08-151-4/+7
| | | | | | | | This patch fixes a nasty bug in getLastWord, a bug that causes XMonad to crash as soon as the command line consists of only 2 empty spaces. *PLEASE UPDATE* if you are running XPrompt. darcs-hash:20070815163457-32816-13dc80cfb1fccaca6717df60072f2d3e9fc68bf7.gz
* Use maskEvent rather than nextEvent. Fixes rare segfaultsSpencer Janssen2007-08-141-1/+1
| | | | darcs-hash:20070814170416-a5988-dd4a3197f2442953ece2075a39b18d3372b313ba.gz
* actually use the selected font in XPrompt.David Roundy2007-08-101-0/+1
| | | | darcs-hash:20070810174543-72aca-37b0aba755e79a399b0cbe2e972f0f445752fc88.gz
* increase default contrast in XPrompt.David Roundy2007-08-101-2/+2
| | | | darcs-hash:20070810174724-72aca-20d1d02d461da8cf5c1fbfb8fb6299d3f7fc6551.gz
* center prompt text in window.David Roundy2007-08-101-1/+1
| | | | darcs-hash:20070810173746-72aca-add5457dcb36c22bed178f9db5ae560229912d2d.gz
* don't crash when given a non-existent font in XPrompt.David Roundy2007-08-101-1/+2
| | | | darcs-hash:20070810170445-72aca-1784272b5a0036ed007916221840c73436650ef2.gz
* XPrompt: removed touchFile (which is not the equivalent of touch!)Andrea Rossato2007-08-061-2/+1
| | | | darcs-hash:20070805225906-32816-0f38508090df958660a6399ee3281037d3c7b131.gz
* XPrompt.hs: getCompletion should check for completions of the last word of ↵Andrea Rossato2007-08-051-2/+2
| | | | | | the command line darcs-hash:20070805124130-32816-c6ccb1937ad290dba4a488453ebded844e464bbb.gz
* XPrompt.hs: read history lazilyAndrea Rossato2007-08-041-32/+23
| | | | | | Instead of forcing the reading of all the history file we read it lazily. darcs-hash:20070804185914-32816-ff8f258a66c610d837e4fa01695baf6f52a17ada.gz
* XPrompt.hs: removed defaultPromptConfig. use defautlXPConfig insteadAndrea Rossato2007-08-041-4/+0
| | | | darcs-hash:20070804183252-32816-6ef986de551cf0579b4e39cef52ec53cbc91cbf9.gz
* XPrompt.hs: haddock corrections and some commentsAndrea Rossato2007-08-041-10/+12
| | | | darcs-hash:20070804104622-32816-15ca269926147136c45966d812d018151833ef5c.gz
* 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