mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 20:21:51 -07:00
Prompt.XMonad: use mkComplFunFromList' to get all the completions with an empty command line
This commit is contained in:
@@ -44,8 +44,8 @@ instance XPrompt XMonad where
|
||||
xmonadPrompt :: XPConfig -> X ()
|
||||
xmonadPrompt c = do
|
||||
cmds <- defaultCommands
|
||||
mkXPrompt XMonad c (mkComplFunFromList (map fst cmds)) runCommand'
|
||||
mkXPrompt XMonad c (mkComplFunFromList' (map fst cmds)) runCommand'
|
||||
|
||||
-- | An xmonad prompt with a custom command list
|
||||
xmonadPromptC :: [(String, X ())] -> XPConfig -> X ()
|
||||
xmonadPromptC commands c = mkXPrompt XMonad c (mkComplFunFromList (map fst commands)) runCommand'
|
||||
xmonadPromptC commands c = mkXPrompt XMonad c (mkComplFunFromList' (map fst commands)) runCommand'
|
||||
|
Reference in New Issue
Block a user