aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Prompt.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-05-28use Data.Default wherever possible, and deprecate the things it replacesDaniel Wagner1-7/+10
Ignore-this: 898458b1d2868a70dfb09faf473dc7aa darcs-hash:20130528013909-76d51-863278165b6f149c47b08b31b34e85ddcab19f1f.gz
2013-02-21Allow to limit maximum row count in X.Prompt completion windowPaul Fertser1-1/+7
Ignore-this: 923656f02996f2de2b1336275392c5f9 On a keyboard-less device (such as a smartphone), where one has to use an on-screen keyboard, the maximum completion window height must be limited to avoid overlapping the keyboard. darcs-hash:20130221122050-52607-7d086c3f11ba83887e11c26b4fd41dd1ab4c77aa.gz
2013-02-09spawn command when no completion is available (if alwaysHighlight is True); ↵c.lopez1-2/+1
changes commandToComplete in Prompt/Shell to complete the whole word instead of using getLastWord Ignore-this: ca7d354bb301b555b64d5e76e31d10e8 darcs-hash:20130209190456-c3db2-5bb4a8a2aa97c180814ca90a090054efc36d4cfe.gz
2012-12-16Record polachok's fix for issue 507Adam Vogt1-2/+5
Ignore-this: 13743d035e50f642de017c3304f914e darcs-hash:20121216182724-1499c-0ca6203c00560a5a405d540d83ffd5c2753a6ee6.gz
2012-11-09Use Control.Exception.catch explitly to avoid warningsAdam Vogt1-6/+4
Ignore-this: 2cebdfe604c581f2b4a644e9aed726c7 The base that comes with ghc-7.6.1 no longer includes Prelude.catch; so these modules were changed so that there is no warning for import Prelude hiding (catch) At the same time these changes should be compatible with older GHCs, since the catch being has never been the one in the Prelude. darcs-hash:20121109013506-1499c-c593662b0780eb49287efcbfe0e9796f7dd57c73.gz
2012-08-26Improves haddock documentationc.lopez1-1/+1
Ignore-this: a0ce4838652acfff7922c111e4d879bb darcs-hash:20120826091716-c3db2-b6bc0898f7935b4b272655521b2468a5ecae49ad.gz
2012-08-26Improve comments, add an error throw that shouldn't happenc.lopez1-5/+7
Ignore-this: 7675070826b3c53499e4352e692d6036 darcs-hash:20120826085426-c3db2-648c1b82565fa87710737b641c8159ea257011d9.gz
2012-08-26fix a bug when ncompletionsc.lopez1-3/+2
Ignore-this: 5f573028318473c333809217c271a81d darcs-hash:20120826083137-c3db2-f1fe3b8e2603aeffc888411261f364de2b4ef576.gz
2012-08-11Correctly get the autocompletion item when alwaysHighlight in XMonad.Prompt ↵c.lopez1-88/+100
is True Ignore-this: fa2600df210c7d3472a797f19fb31a7 darcs-hash:20120811104805-c3db2-130ba7583c5498a5d8b30f075d394db203f65329.gz
2012-06-28Changes on XPrompt:c.lopez1-39/+217
Ignore-this: 2384f5c1b886716b3d9785877c2e32f9 * Adds mkPromptWithModes, creates a prompt given a list of modes (list of XPType). * Adds Setting `alwaysHighlight` to defaultXPConfig. When set to true, autocompletion always highlight the first result if it is not highlighted. Adds module XMonad.Actions.Launcher. This module allows to combine and switch between instances of XPrompt. It includes a default set of modes which require the programs `hoogle`, `locate` and `calc` to be installed to work properly. darcs-hash:20120628101749-c3db2-f6d1cd3315d56300d734f4c874409e0782096eac.gz
2012-05-10updates to XMonad.Prompt re: word-oriented commandsBrent Yorgey1-30/+71
Ignore-this: 138b5e8942fe4b55ad7e6ab24f17703f + change killWord and moveWord to have emacs-like behavior: first move past/kill consecutive whitespace, then move past/kill consecutive non-whitespace. + create variants killWord' and moveWord' which take a predicate specifying non-word characters. + create variants defaultXPKeymap' and emacsLikeXPKeymap' which take the same sort of predicate, which is applied to all keybindings with word-oriented commands. darcs-hash:20120510174317-1e371-30bf1af455f31b2dfc28f01ce889ec91ab0be773.gz
2012-04-28Remove trailing whitespace.Adam Vogt1-1/+1
Ignore-this: d61584110954e84d3611ef3497a29725 darcs-hash:20120428194048-1499c-b4fab8db7cd56d5ca8496e1d3c9c2147a985cf55.gz
2012-04-21Add emacs-like keys to browse history in XMonad.PromptCarlos Lopez-Camey1-0/+2
Ignore-this: b90345f72007d09a6b732b974c0faf79 darcs-hash:20120421110737-95218-06c3ee13fed5302ee3bd2e02a143cbca73a793c5.gz
2012-04-21Adds an emacs-like Keymap in XMonad.PromptCarlos Lopez-Camey1-0/+37
Ignore-this: f281b8ad01f3d21055e2d6de79af2d79 darcs-hash:20120421012335-95218-fe138a3d499fd0d956f3c61037cc4a07211a9daf.gz
2010-10-23Export types to reduce haddock warnings.Adam Vogt1-0/+2
Ignore-this: 1cac9202784711ce0fc902d14543bab0 darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
2011-05-04Compile with ghc7Mats Rauhala1-3/+3
Ignore-this: 218d2e19835f1e4315c01bd6214899ce darcs-hash:20110504192455-af521-ba19a95226d2527af9fbad8ed902982f2db567db.gz
2010-09-14Remove last excess definition of `fi' (fromIntegral)Adam Vogt1-2/+1
Ignore-this: 42d9282697573b361d763d980b816465 darcs-hash:20100913233850-1499c-20e07e9b380af55b7e1786630472a05996229c8c.gz
2010-06-15remove decodeInput/encodeOutputgwern01-11/+8
Ignore-this: 2ed6a014130dba95c6b0a6fcac055110 see http://code.google.com/p/xmonad/issues/detail?id48 they are just synonyms for 2 utf8-string functions, and don't really help darcs-hash:20100614232300-f7719-66f0606d9c7323186cb6aa56dff11c506bb79c4e.gz
2010-04-21Prompt: handle case of historySizeAdam Vogt1-4/+7
Ignore-this: e4a74e905677649ddde36385a9ed47a2 darcs-hash:20100421183006-1499c-b6fb3d6eea1e1c519173bf07346c100b2b5557cb.gz
2010-02-11XMonad.Prompt: remove white border from greenXPConfiggwern01-1/+1
Ignore-this: 1cd9a6de02419b7747eab98eb4e84c35 darcs-hash:20100211163641-f7719-d0712673c2183e4ac1e60110cb597a0d6e46e1ce.gz
2010-02-08Fixed reversed history searching direction in X.P.history(Up|Down)MatchingDaniel Schoepe1-2/+2
Ignore-this: 61b9907318d18ef2fb5bc633048d3afc darcs-hash:20100208162901-7f603-50b0444e2e7bc57504dbdf8bcefe04b860e926cd.gz
2010-01-24Compatibility for rename of XMonad.numlockMaskAdam Vogt1-3/+3
Ignore-this: 765c58a8b77ca0b54f05fd69a9bba714 darcs-hash:20100124201955-1499c-2df148dc43f0fd6506c0e70a7bce268b22ab8665.gz
2010-01-24Use extensible-exceptions to allow base-3 or base-4Adam Vogt1-4/+4
Ignore-this: 136f35fcc0f3a824b96eea0f4e04f276 darcs-hash:20100124203324-1499c-6e811978a61feebf704e3cd7543cbcc0b3e8a0b3.gz
2010-02-01Corrected documentation in X.PromptDaniel Schoepe1-2/+2
Ignore-this: 98f9889a4844bc765cbb9e43bd83bc05 darcs-hash:20100201204522-7f603-16ec4c2ed9fb4c931aaf6197d8d4744865614c9d.gz
2010-02-01Use Stack instead of list in X.Prompt.history*MatchingDaniel Schoepe1-21/+28
Ignore-this: 45d03c7096949bd250dd1c5c2d3646d4 darcs-hash:20100201202839-7f603-4951b1d806b6a444e363f57ac163049ba5b3dc45.gz
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