aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Prompt.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Prompt.hs: +greenXPConfig and amberXPConfiggwern02008-11-191-3/+6
| | | | | | Ignore-this: 95ac7dbe9c8fe3618135966f251f4fc6 darcs-hash:20081119213122-f7719-31fa5831737dbc6ffcbd34cbb3035d997b74183d.gz
* Prompt.hs: increase font size to 12 from niggardly 10gwern02008-11-191-1/+1
| | | | | | Ignore-this: 74a6e1ac5e1774da4ffc7c6667c034c darcs-hash:20081119212523-f7719-cc653aa8350ad0b923837186bdeef802b016806f.gz
* Prompt.hs: replace magic numbers with understandable namesgwern02008-11-191-5/+5
| | | | | | Ignore-this: 8401c0213be9a32c925e1bd0ba5e01f1 darcs-hash:20081119212502-f7719-cf99c92cd71fbd5c68c5f5dd904278b07886ab66.gz
* XMonad.Prompt: swap up and down per bug #243gwern02008-12-031-2/+2
| | | | | | Ignore-this: 8ab0481a0da7a983f501ac2fec4a68e8 darcs-hash:20081203013323-f7719-2dc8e5f3d85d0a700628046a6c83af9872789135.gz
* Prompt.hs rename deleteConsecutiveDuplicatesgwern02008-10-081-5/+5
| | | | | | That name is really unwieldy and long. darcs-hash:20081008205131-f7719-4dad571b407c09c06f19315d4133f8117040dc20.gz
* Prompt.hs: have historyCompletion filter dupesgwern02008-10-081-1/+1
| | | | | | | Specifically, it calls deleteConsecutiveDuplicates on the end product. uniqSort reverses order in an unfortunate way, so we don't use that. The use-case is when a user has added the same input many times - as it stands, if the history records 30 'top's or whatever, the completion will show 30 'top' entries! This fixes that. darcs-hash:20081008204710-f7719-8c632a07157561942056dd2f7293a9b005eb2c12.gz
* Prompt.hs: tweak haddocksgwern02008-10-081-7/+7
| | | | darcs-hash:20081008204649-f7719-c1be489cf582cbf18e4230633f89791b44f13396.gz
* Prompt.hs: mv uniqSort to next to its confreres, and mention the trade-offgwern02008-10-081-4/+5
| | | | darcs-hash:20081008192645-f7719-97d4c6eb2d0659baec8eee4909c67f00994f2182.gz
* Forgot to enable historyFilter :(Spencer Janssen2008-09-211-1/+2
| | | | darcs-hash:20080921094254-25a6b-12e7274203ac50d109e2636f0b10531c5707900a.gz
* Prompt: add configurable history filtersSpencer Janssen2008-09-211-1/+16
| | | | darcs-hash:20080921093453-25a6b-131438cecc65038c592e99e60b98c878d39e01cd.gz
* Take maintainership of XMonad.PromptSpencer Janssen2008-09-121-1/+1
| | | | darcs-hash:20080911230442-25a6b-f95824937598834511d12eae954fe812dd3318ad.gz
* Overhaul Prompt to use a zipper for history navigation. Fixes issue #216Spencer Janssen2008-09-121-82/+68
| | | | darcs-hash:20080911225940-25a6b-5d718977f1fe2ad58b0c921e70fc95a1627931c6.gz
* Only start to show the completion window with more than one matchJoachim Breitner2008-09-081-1/+1
| | | | darcs-hash:20080908110129-23c07-80787359353a1d5fdf194db4c6417db5d16e5c57.gz
* XPrompt: Add showCompletionOnTab optionJoachim Breitner2008-09-081-2/+7
| | | | | | | | | | | This patch partially implements http://code.google.com/p/xmonad/issues/detail?id!5 It adds a XPConfig option that, if enabled, hides the completion window until the user presses Tab once. Default behaviour is preserved. TODO: If Tab causes a unique completion, continue to hide the completion window. darcs-hash:20080908105758-23c07-0d014c22f15e853d2a918d53788274374eaf4dca.gz
* add autoComplete option to XMonad.PromptDevin Mullins2008-07-041-4/+28
| | | | | | Maybe this will get Gwern one step closer to a complete Ratpoison binding. darcs-hash:20080704073415-78224-e0d0f2fe32cd4d30972eb781e51fdfd78822ffbe.gz
* Make prompt keybindings work when numLock or capsLock are activeJustin Bogner2008-06-081-1/+2
| | | | darcs-hash:20080608172057-18f27-f5b94a80e3571bb62a0d64372fb145e628191af0.gz
* Prompt.hs: +a historyCompletion function for use in XPromptsgwern02008-06-071-0/+13
| | | | darcs-hash:20080607071225-f7719-4e0154662c45e9a3fc4d575e4eda0963598d8248.gz
* Add C-w to XMonad.PromptTrevor Elliott2008-06-061-0/+1
| | | | | | * Bind C-w to kill the previous word darcs-hash:20080605220656-5b2f6-4fe83933831415342feacfddb02c78e5c99a04e8.gz
* Don't strictify the Display component, this triggers a bug in GHC 6.6Spencer Janssen2008-04-161-1/+1
| | | | darcs-hash:20080416185733-a5988-4632adba6f51e1d414a933598259827190d5215c.gz
* stictify some fieldsDon Stewart2008-04-131-11/+11
| | | | darcs-hash:20080413070117-cba2c-a06cb815883601b71eda55a75b34af1d43ebe0fd.gz
* Font and XUtils: add UTF-8 support and various fixes related to XFTAndrea Rossato2008-03-021-3/+5
| | | | | | | | | | | | | | - printStringXMF: use the background color for XFT fonts too - textWidthXMF now returns the text width even with xft fonts - textExtentsXMF will now return only the ascend and the descent of a string. - stringPosition now takes the display too - add support for UTF-8 locales: if the contrib library is compiled with the 'with_xft' or the 'with_utf8' option the prompt and the decoration system will support UTF-8 locales - this requires utf8-strings. darcs-hash:20080302095712-32816-f3d6d06ff9d921288b1625e4bfd643013d2075ec.gz
* Prompt: regenerate completion list if there's just one completionAndrea Rossato2008-02-171-6/+7
| | | | darcs-hash:20080217132734-32816-89f7cd67e3efb65eb2bbd0b553f04ba8c4fc973b.gz
* some code formattingAndrea Rossato2008-02-171-1/+1
| | | | darcs-hash:20080217124434-32816-3ea034e6955a1a8d674f84d99fcc8c96df78a359.gz
* Prompt: comment only (clafiry completionToCommand uses)Andrea Rossato2008-02-161-5/+7
| | | | darcs-hash:20080216181620-32816-0829370170cd174d12c57bc9e2fdfff1c6e65ab2.gz
* Prompt: comment only (remove confusing remarks about commandToComplete)Andrea Rossato2008-02-161-4/+2
| | | | darcs-hash:20080216180412-32816-2ab2805db2d6cb0207d3d0da64696f79eba9e180.gz
* Prompt: haddock fixes onlyAndrea Rossato2008-02-161-24/+31
| | | | darcs-hash:20080216172331-32816-8b5de92d2cd4bed79a02d51b4efc53c4d7738b86.gz
* Prompt: add some methods to make completions more flexibleAndrea Rossato2008-02-161-18/+47
| | | | | | | | | | | | - now it is possible to decide if the prompt will complete the last word of the command line or the whole line (default is the last word); - completing the last word can be fine tuned by implementing 'commandToComplete' and 'completionToCommand': see comments for details; - move mkComplFunFromList' from TagWindows to Prompt. darcs-hash:20080216133454-32816-86eba16c4c73357b5bf6fee185c652d5ecd75521.gz
* Prompt: added nextCompletion and commandToComplete methods to fine tune ↵Andrea Rossato2008-02-161-21/+29
| | | | | | prompts' completion functions darcs-hash:20080216113723-32816-d9d5e1ea31cb1477bbcd9710e08d98bb4ab3fe15.gz
* Update to safer initColor apiDon Stewart2008-02-061-4/+4
| | | | darcs-hash:20080206192232-cba2c-fe41eae586cdcde8b8fa18789440175c4cdd0eaa.gz
* Prompt: code formatting onlyAndrea Rossato2008-01-261-29/+28
| | | | darcs-hash:20080126093234-32816-da806988deb403ad4052e88607492eadf2d7a190.gz
* Prompt: clean up and optimize moveWord a bitAndrea Rossato2008-01-131-10/+6
| | | | darcs-hash:20080113164745-32816-611bd85c3966132984e76b1d97e5934d953a796f.gz
* Prompt: added moveWord to move the cursor to the word boundariesAndrea Rossato2008-01-131-0/+21
| | | | | | The actions have been bound to ctrl+Left and Right darcs-hash:20080113123529-32816-9513798a80831d145fba8dceb4612b40765b080e.gz
* de-obfuscate the initState and set the init offset to the length of the ↵Andrea Rossato2008-01-101-1/+15
| | | | | | default text darcs-hash:20080110140951-32816-fa36f4781645ad428c10226c64895ca482d6323a.gz
* prompt: Allow to provide a default text in the prompt config.nicolas.pouillard2008-01-091-1/+3
| | | | darcs-hash:20080109213916-94725-806649257a0bc1b5d7b9ac423d82e03cd240cddb.gz
* textExtentsXMF doesn't require the displayAndrea Rossato2007-12-281-2/+2
| | | | darcs-hash:20071228125913-32816-e6193e40cb78fed678761c550644a7c64062cb56.gz
* Prompt.hs: mv .xmonad_history into .xmonad/gwern02007-12-241-2/+2
| | | | | | See my email to mailing list. This will slightly break anyone who upgrades while running and expects to see their prompt history, and leave a stray file, I think, but nothing else, and it'll permanently improve tab-completion, and is tidier. darcs-hash:20071224054610-f7719-a5f5baa1d6aa19206ac0809d81dee70aba2b9d29.gz
* Remove XMonad.Operations importsSpencer Janssen2007-12-081-1/+0
| | | | darcs-hash:20071208000547-a5988-874ebc1bfa76ad6ec2191812240fa2303b2d531c.gz
* Prune more importsSpencer Janssen2007-12-081-1/+0
| | | | darcs-hash:20071207235116-a5988-563cabf7a60a879beb0eb54c9e352a1c27b7729f.gz
* Remove redundant importsSpencer Janssen2007-12-081-2/+0
| | | | darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
* refactor XMonad.Prompt, add new modules XMonad.Prompt.{Input,Email}Brent Yorgey2007-11-281-19/+33
| | | | | | | | | | | | | XMonad.Prompt.Input is a new module which provides a framework for prompting the user for input and passing it along to some other action, useful for building actions which require user input. XMonad.Prompt.Email is a simple example of the use of XMonad.Prompt.Input, which prompts the user for a recipient, subject, and body, and sends a one-line email. I also made a small refactoring to XMonad.Prompt in order to support XMonad.Prompt.Input. darcs-hash:20071128142417-bd4d7-659505bd53d074cd3d11df65014a722b6275d57c.gz
* Prompt: comment onlyAndrea Rossato2007-11-191-1/+1
| | | | darcs-hash:20071119000357-32816-ad0af5478f4d4214b84d1a43cf9ca66efba445a1.gz
* Port XPrompt to XMonad.Util.Font, various other refactoringsSpencer Janssen2007-11-171-33/+23
| | | | darcs-hash:20071116232743-a5988-555816e43cf5559966bee4c22e21e8a2f46edb92.gz
* Miscellaneous spell-checkingShachaf Ben-Kiki2007-11-191-4/+4
| | | | darcs-hash:20071118230319-bffde-6c56202afece4ecc55d48d37bde3f80edaff66f7.gz
* Export XMonadFont's constructors, use those constructors in XMonad.PromptSpencer Janssen2007-11-161-2/+2
| | | | darcs-hash:20071116125157-a5988-4d24d051381c8ccc531cfab34a052098497a8cc9.gz
* Add Font layer supporting an Xft backend. Make Tabbed.hs a user of this layer.Clemens Fruhwirth2007-11-161-8/+7
| | | | darcs-hash:20071116120653-ed0c4-9a8c7fbac69976bbc85701338f89cf085a1f1ddf.gz
* Prompt: haddock fixesAndrea Rossato2007-11-151-3/+1
| | | | darcs-hash:20071115204828-32816-c30269b8411128c3e515aceb867bc1118398fe4a.gz
* Prompt: just code formattingAndrea Rossato2007-11-151-8/+8
| | | | darcs-hash:20071115191012-32816-ff1d5fdd9df9a69f84bfccd84a83637a2a9b26a5.gz
* Prompt: add killWord edit actionAndrea Rossato2007-11-151-5/+23
| | | | | | | | With this bindings: ^ - Delete kill forward ^ - BackSpace kill backward darcs-hash:20071115190734-32816-d086d681a480cf9388b04a439d1920b3ee945533.gz
* Prompt.hs: update namesgwern02007-11-061-3/+3
| | | | darcs-hash:20071106192054-f7719-2e327851fe2179414ff4a7f8eced75428cef5f0d.gz
* HierarchifySpencer Janssen2007-11-011-0/+686
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz