aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Prompt.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-01-14Add a way to cycle only through matching history entries in X.PromptDaniel Schoepe1-0/+40
Ignore-this: d67aedb25f2cc6f329a78d5d3eebdd2b This patch adds a way go up through X.Prompt's history using only those entries that start with the current input, similar to zsh's `history-search-backward'. darcs-hash:20100113233036-7f603-e35d5dffbccfa6220ff8d387e84dc2ba95b7d2da.gz
2009-12-21Add a search predicate option to XMonad.PromptMike Lundy1-2/+7
Ignore-this: 8e8804eeb9650d38bc225e15887310da darcs-hash:20091221025408-88b46-c700aa5d2fdcad96495c23e53f51496be36cbc7c.gz
2009-11-03Update Prompt for numlockMask changesSpencer Janssen1-7/+6
Ignore-this: 4980e2fdf4c296a266590cc4acf76e1e darcs-hash:20091103222621-25a6b-429b2f1d687a6e10a1c6426e7a04fa3d22212f4c.gz
2009-12-03Prompt.hs: Corrected quit keybindingsTim Horton1-1/+2
Ignore-this: e8cd2cd1d41f6807f68157ef37c631ea darcs-hash:20091203050041-1db5e-9daac5517f5dba450e04af18a117e74e3361e48b.gz
2009-11-15Use less short names in X.PromptAdam Vogt1-5/+2
Ignore-this: 1d27b8efc4d829a5642717c6f6426336 darcs-hash:20091115025647-1499c-f326242916f623c9685e2ecc1bc2ea7ab600ebfd.gz
2009-11-15Use io instead of liftIO in PromptAdam Vogt1-9/+9
Ignore-this: cd4031b74cd5bb874cd2c3cc2cb087f2 darcs-hash:20091115025301-1499c-992bfa7612baa7b5c6c992208b12eb2e06df50d9.gz
2009-11-15'io' and 'fi' are defined outside of PromptAdam Vogt1-9/+2
Ignore-this: 3426056362db9cbfde7d2f4edbfe6f36 darcs-hash:20091115024001-1499c-c9804d0b6432f429f6c403d1dade7b4343532b9e.gz
2009-11-15Use zipWithM_ instead of recursion in Prompt.printComplListAdam Vogt1-22/+9
Ignore-this: 2457500ed871ef120653a3d4ada13441 darcs-hash:20091115023451-1499c-c72a17e4146be3caa97728f10dc7e39270a01c39.gz
2009-10-31Add functions to access the current input in X.PromptDaniel Schoepe1-0/+10
Ignore-this: 3f568c1266d85dcaa5722b19bbbd61dd darcs-hash:20091030235033-7f603-2da8ee80df7406b09d279592804adc37f3e14ab2.gz
2009-10-30Remove putSelection, fixes #317Spencer Janssen1-7/+2
Ignore-this: 6cfd6d92e1d133bc9e3cbb7c8339f735 darcs-hash:20091030224354-25a6b-1181861af8f4783783d875491a8d67cd26538ca3.gz
2009-10-12Filter extra modifier bits some layouts set in XMonad.PromptDaniel Schoepe1-2/+3
Ignore-this: c0898809766061700c11f6da84c74bed darcs-hash:20091012132814-7f603-d02f321d42581906738c70da50b2acb9c04b1cad.gz
2009-09-28minor hlint cleanup of Prompt and XMonad.Prompt.* sub-modulessean.escriva1-13/+12
Ignore-this: 25e71f59bdcc5bf94c2d6f476833216b darcs-hash:20090928204443-29414-d1844586f2955c8b76d971b20d6e2b6c1ea91d4d.gz
2009-10-01Use default handler in XMonad.Prompt.eventLoopDaniel Schoepe1-1/+1
Ignore-this: 10c9c856aec515d57f0f0a42bc727f1 darcs-hash:20091001180402-7f603-e89705aa2a2e930ec3c3fc9a387efe03a3f54d2c.gz
2009-09-28Correctly check completionKey field in XMonad.PromptDaniel Schoepe1-16/+17
Ignore-this: 99e68a63fe156650cc8e96d31e6d1f5a darcs-hash:20090928093215-7f603-d8026bd2a87e1ca359457e5883f9e59168f83352.gz
2009-09-28Fix for issue 315Daniel Schoepe1-2/+3
Ignore-this: 7de748d6cbd143b073451ba92ecec659 darcs-hash:20090928091946-7f603-5b282d63ae1aab1911f7735c3b6a16ab53525321.gz
2009-09-21Only use search history for completion in X.A.SearchDaniel Schoepe1-7/+18
Ignore-this: 807fcd4fa14a25ecc9787940f9950736 darcs-hash:20090920221455-7f603-eca315cbb45fe6bc4f34e45a7f9a00f6770119e4.gz
2009-09-20Fix regression in XMonad.Prompt's completionDaniel Schoepe1-14/+13
Ignore-this: 3c0e5a1f843be1981ecc3d40d43530d1 darcs-hash:20090920205711-7f603-84e1b6f17ea0f110e27d43d10bf0c28915cdb62c.gz
2009-09-20Clean keymask before use in XMonad.PromptDaniel Schoepe1-4/+17
Ignore-this: 80903452f15352aef025b9979793fb8a darcs-hash:20090920201229-7f603-ded156465f58e8eb1623c50e152284146da3673b.gz
2009-09-20Export moveCursor in XMonad.PromptDaniel Schoepe1-1/+1
Ignore-this: 7732b0444b26cd653190bb3a6e69346c darcs-hash:20090920192513-7f603-d8a8c0d0f862573a299870225428f032286071bc.gz
2009-09-19Factor out direction types and put them in X.U.TypesDaniel Schoepe1-7/+6
Ignore-this: b2255ec2754fcdf797b1ce2c082642ba This patch factors out commonly used direction types like data Direction darcs-hash:20090919191717-7f603-09c283e51a0b886d260008676d71e3daf31f4394.gz
2009-09-10Make the keymap of XMonad.Prompt customizableDaniel Schoepe1-57/+84
Ignore-this: 37c04043518d7e4e06b821b3438cbe03 This patch allows the user to change the keymap XMonad.Prompt and related modules use to be customized using the XPConfig structure. darcs-hash:20090910160828-7f603-8da00edfbc34cfee22fd3ecd66e107913dd6af81.gz
2009-07-09Add ability to copy the entered string in X.PromptDaniel Schoepe1-1/+6
Ignore-this: 4e8b98f281001d7540617d0ff6a3d4f3 darcs-hash:20090709100703-7f603-ca459dc9695aab8fc70396761bdd6bf51ca962ab.gz
2009-07-05Remove trailing whitespace from many modulesAdam Vogt1-1/+1
Ignore-this: 1e28ff0974578d329bd3d593c1a5125e darcs-hash:20090705201205-1499c-581bd0bb43ab6096eccded6edbd54a7a2007b0d9.gz
2009-04-09Prompt.hs: setSuccess True also on Keypad Entersean.escriva1-1/+1
Ignore-this: cf04f87c546f89bd32a94de3a2a93b22 darcs-hash:20090409162609-29414-71dc93f7918450168f648cfe384185361faa9768.gz
2009-01-27XMonad.Prompt autocompletion fixquentin.moser1-2/+4
Ignore-this: 635cbf6420722a4edef1ae9c40b36e1b darcs-hash:20090127184145-5ccef-5ab96edbaf04e3e41790ca9550d6bae47639422e.gz
2008-12-18 Prompt: Change Filemode to 600 for history-file (fixes bug 244)Dominik Bruhn1-0/+3
darcs-hash:20081218001601-ae55e-638802808e989df10b5a06e84cd251280300d278.gz
2008-11-19Prompt.hs: +greenXPConfig and amberXPConfiggwern01-3/+6
Ignore-this: 95ac7dbe9c8fe3618135966f251f4fc6 darcs-hash:20081119213122-f7719-31fa5831737dbc6ffcbd34cbb3035d997b74183d.gz
2008-11-19Prompt.hs: increase font size to 12 from niggardly 10gwern01-1/+1
Ignore-this: 74a6e1ac5e1774da4ffc7c6667c034c darcs-hash:20081119212523-f7719-cc653aa8350ad0b923837186bdeef802b016806f.gz
2008-11-19Prompt.hs: replace magic numbers with understandable namesgwern01-5/+5
Ignore-this: 8401c0213be9a32c925e1bd0ba5e01f1 darcs-hash:20081119212502-f7719-cf99c92cd71fbd5c68c5f5dd904278b07886ab66.gz
2008-12-03XMonad.Prompt: swap up and down per bug #243gwern01-2/+2
Ignore-this: 8ab0481a0da7a983f501ac2fec4a68e8 darcs-hash:20081203013323-f7719-2dc8e5f3d85d0a700628046a6c83af9872789135.gz
2008-10-08Prompt.hs rename deleteConsecutiveDuplicatesgwern01-5/+5
That name is really unwieldy and long. darcs-hash:20081008205131-f7719-4dad571b407c09c06f19315d4133f8117040dc20.gz
2008-10-08Prompt.hs: have historyCompletion filter dupesgwern01-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
2008-10-08Prompt.hs: tweak haddocksgwern01-7/+7
darcs-hash:20081008204649-f7719-c1be489cf582cbf18e4230633f89791b44f13396.gz
2008-10-08Prompt.hs: mv uniqSort to next to its confreres, and mention the trade-offgwern01-4/+5
darcs-hash:20081008192645-f7719-97d4c6eb2d0659baec8eee4909c67f00994f2182.gz
2008-09-21Forgot to enable historyFilter :(Spencer Janssen1-1/+2
darcs-hash:20080921094254-25a6b-12e7274203ac50d109e2636f0b10531c5707900a.gz
2008-09-21Prompt: add configurable history filtersSpencer Janssen1-1/+16
darcs-hash:20080921093453-25a6b-131438cecc65038c592e99e60b98c878d39e01cd.gz
2008-09-12Take maintainership of XMonad.PromptSpencer Janssen1-1/+1
darcs-hash:20080911230442-25a6b-f95824937598834511d12eae954fe812dd3318ad.gz
2008-09-12Overhaul Prompt to use a zipper for history navigation. Fixes issue #216Spencer Janssen1-82/+68
darcs-hash:20080911225940-25a6b-5d718977f1fe2ad58b0c921e70fc95a1627931c6.gz
2008-09-08Only start to show the completion window with more than one matchJoachim Breitner1-1/+1
darcs-hash:20080908110129-23c07-80787359353a1d5fdf194db4c6417db5d16e5c57.gz
2008-09-08XPrompt: Add showCompletionOnTab optionJoachim Breitner1-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
2008-07-04add autoComplete option to XMonad.PromptDevin Mullins1-4/+28
Maybe this will get Gwern one step closer to a complete Ratpoison binding. darcs-hash:20080704073415-78224-e0d0f2fe32cd4d30972eb781e51fdfd78822ffbe.gz
2008-06-08Make prompt keybindings work when numLock or capsLock are activeJustin Bogner1-1/+2
darcs-hash:20080608172057-18f27-f5b94a80e3571bb62a0d64372fb145e628191af0.gz
2008-06-07Prompt.hs: +a historyCompletion function for use in XPromptsgwern01-0/+13
darcs-hash:20080607071225-f7719-4e0154662c45e9a3fc4d575e4eda0963598d8248.gz
2008-06-06Add C-w to XMonad.PromptTrevor Elliott1-0/+1
* Bind C-w to kill the previous word darcs-hash:20080605220656-5b2f6-4fe83933831415342feacfddb02c78e5c99a04e8.gz
2008-04-16Don't strictify the Display component, this triggers a bug in GHC 6.6Spencer Janssen1-1/+1
darcs-hash:20080416185733-a5988-4632adba6f51e1d414a933598259827190d5215c.gz
2008-04-13stictify some fieldsDon Stewart1-11/+11
darcs-hash:20080413070117-cba2c-a06cb815883601b71eda55a75b34af1d43ebe0fd.gz
2008-03-02Font and XUtils: add UTF-8 support and various fixes related to XFTAndrea Rossato1-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
2008-02-17Prompt: regenerate completion list if there's just one completionAndrea Rossato1-6/+7
darcs-hash:20080217132734-32816-89f7cd67e3efb65eb2bbd0b553f04ba8c4fc973b.gz
2008-02-17some code formattingAndrea Rossato1-1/+1
darcs-hash:20080217124434-32816-3ea034e6955a1a8d674f84d99fcc8c96df78a359.gz
2008-02-16Prompt: comment only (clafiry completionToCommand uses)Andrea Rossato1-5/+7
darcs-hash:20080216181620-32816-0829370170cd174d12c57bc9e2fdfff1c6e65ab2.gz