aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Prompt.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-11-16Export XMonadFont's constructors, use those constructors in XMonad.PromptSpencer Janssen1-2/+2
darcs-hash:20071116125157-a5988-4d24d051381c8ccc531cfab34a052098497a8cc9.gz
2007-11-16Add Font layer supporting an Xft backend. Make Tabbed.hs a user of this layer.Clemens Fruhwirth1-8/+7
darcs-hash:20071116120653-ed0c4-9a8c7fbac69976bbc85701338f89cf085a1f1ddf.gz
2007-11-15Prompt: haddock fixesAndrea Rossato1-3/+1
darcs-hash:20071115204828-32816-c30269b8411128c3e515aceb867bc1118398fe4a.gz
2007-11-15Prompt: just code formattingAndrea Rossato1-8/+8
darcs-hash:20071115191012-32816-ff1d5fdd9df9a69f84bfccd84a83637a2a9b26a5.gz
2007-11-15Prompt: add killWord edit actionAndrea Rossato1-5/+23
With this bindings: ^ - Delete kill forward ^ - BackSpace kill backward darcs-hash:20071115190734-32816-d086d681a480cf9388b04a439d1920b3ee945533.gz
2007-11-06Prompt.hs: update namesgwern01-3/+3
darcs-hash:20071106192054-f7719-2e327851fe2179414ff4a7f8eced75428cef5f0d.gz
2007-11-01HierarchifySpencer Janssen1-3/+3
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz
2007-11-01Use hierarchical module names from the coreSpencer Janssen1-2/+2
darcs-hash:20071101182824-a5988-e02ade829d66f49dd6b303b7a797933251c44164.gz
2007-11-01XPrompt: don't import XMonad.configSpencer Janssen1-1/+1
darcs-hash:20071101074149-a5988-5462a9333e4d79b175e379e723e9c74de4b6187d.gz
2007-10-27XPrompt: removed unneeded parentesesAndrea Rossato1-2/+2
darcs-hash:20071026221505-32816-6b1d59ea7fe4027f1114113feb9dec54200ba32b.gz
2007-10-22XPrompt.hs: use a single blankValery V. Vorotyntsev1-5/+3
Excessive blanks in prompts originate from here. Eliminate. :) Rewrite `getLastWord' and `skipLastWord' in pointfree style. darcs-hash:20071022192310-ae588-c707fe405f132fffa448bbe38b44d5c5f8c4d912.gz
2007-10-26XPrompt: catch exceptions when running the completion functionAndrea Rossato1-1/+2
darcs-hash:20071026211859-32816-b161b40ed1ba2fcca8c32f85fc2de821f10c2fe6.gz
2007-10-26XPrompt.hs: add sensible bindings for Home and Endgwern01-0/+2
darcs-hash:20071026035026-f7719-d8db907e34e2347c602cdb610f4333790801ac00.gz
2007-10-26XPrompt.hs: add a pasteString function and keybindinggwern01-0/+6
darcs-hash:20071026034920-f7719-a0521e6998e3641deb7a7fc7a733013fcea73b82.gz
2007-10-24XPrompt.hs (uniqSort): new functionValery V. Vorotyntsev1-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
2007-10-23XPrompt.hs: fix vertical alignment of completions.Dmitry Kurochkin1-1/+1
darcs-hash:20071023183129-903e8-c13f17ed19adaf76c52dfbf3c416f76b78f1cb0c.gz
2007-10-20XPrompt.hs (keyPressHandle): Ctrl-g and Ctrl-c added to quit keystrokesValery V. Vorotyntsev1-16/+7
Obvious comments removed. darcs-hash:20071020170936-ae588-721702bc4e4d6558c54c858f54a6db2238bcbede.gz
2007-10-20XPrompt.hs: trailing whitespace cleanedValery V. Vorotyntsev1-30/+30
darcs-hash:20071020170719-ae588-2e8b43ffa1af11c05337a14ee0ed0cf45baf9544.gz
2007-10-12Haddock fixesAndrea Rossato1-4/+4
darcs-hash:20071012100416-32816-049c57f0dbc5d794db1b66295429ba6cd5b7b160.gz
2007-10-07Tabbed and XPrompt updated to lates Extras changesAndrea Rossato1-3/+2
darcs-hash:20071007163825-32816-8ebe1d13dff1ac21304138a19b6ae883a54f71c7.gz
2007-10-05XPrompt: added ^A and ^E and moreAndrea Rossato1-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
2007-10-02Add ^K and ^U support to XPromptEric Mertens1-3/+20
darcs-hash:20071002210814-b49f3-044f20328be2d3a51ddb2ef0d0e7d8b755af749e.gz
2007-09-28Use LANGUAGE pragmas over -fglasgow-extsSpencer Janssen1-1/+2
darcs-hash:20070928181614-a5988-85415ed570690a468bf92cdf0f66d69494cecf4e.gz
2007-09-18XPrompt.hs: replace 'borderWidth' with 'borderPixel'gwern01-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
2007-08-30XPrompt: a very long string in the completion list can lead to a division by ↵Andrea Rossato1-1/+1
zero darcs-hash:20070830141524-32816-beeaa150ea23704c1a92f1ac3d533777fcd331e8.gz
2007-08-28XPrompt.hs: remove debugging bitsAndrea Rossato1-1/+0
darcs-hash:20070828081235-32816-8a73d54e7a91e7d17efb31cd0aee0568a1f53446.gz
2007-08-27make code more compact in XPrompt.David Roundy1-41/+18
darcs-hash:20070827191830-72aca-4b9995634a6287d18776b6909690428bb481f8cf.gz
2007-08-22XPrompt: just code formattingAndrea Rossato1-26/+26
darcs-hash:20070822193220-32816-528777cc85fa4f58dd483d8e9a1b4d19c7d85f16.gz
2007-08-27fix bug leading to early exit in XPrompt.David Roundy1-1/+2
darcs-hash:20070827185858-72aca-b770e1c7723cd4c879200243ef8300f8e5ca85cb.gz
2007-08-18XPrompt: haddock tuning and more commentsAndrea Rossato1-7/+24
darcs-hash:20070818083423-32816-8de919a2564cfd86d714075c933586e2bc4472a7.gz
2007-08-17XPrompt: documentation onlyAndrea Rossato1-3/+26
darcs-hash:20070817162806-32816-27fcc934cf5e54222c49dc25062d765977e66469.gz
2007-08-17XPrompt: quickcheck related refactoringAndrea Rossato1-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
2007-08-15XPrompt: fixes a nasty bug in getLastWordAndrea Rossato1-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
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