aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Prompt/Window.hs
diff options
context:
space:
mode:
authorDevin Mullins <me@twifkak.com>2008-07-04 09:34:15 +0200
committerDevin Mullins <me@twifkak.com>2008-07-04 09:34:15 +0200
commitc32cf9e244a39b759017ee849d1673146e1e9880 (patch)
tree50cab18d3aa3ad5b75f0f8a579b1849ceebe6eab /XMonad/Prompt/Window.hs
parent73166f3b8967b393f3a4c0f158ad999dbba03613 (diff)
downloadXMonadContrib-c32cf9e244a39b759017ee849d1673146e1e9880.tar.gz
XMonadContrib-c32cf9e244a39b759017ee849d1673146e1e9880.tar.xz
XMonadContrib-c32cf9e244a39b759017ee849d1673146e1e9880.zip
add autoComplete option to XMonad.Prompt
Maybe this will get Gwern one step closer to a complete Ratpoison binding. darcs-hash:20080704073415-78224-e0d0f2fe32cd4d30972eb781e51fdfd78822ffbe.gz
Diffstat (limited to '')
-rw-r--r--XMonad/Prompt/Window.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/XMonad/Prompt/Window.hs b/XMonad/Prompt/Window.hs
index cf34fdd..65d4009 100644
--- a/XMonad/Prompt/Window.hs
+++ b/XMonad/Prompt/Window.hs
@@ -45,6 +45,15 @@ import XMonad.Actions.WindowBringer
-- > , ((modMask x .|. shiftMask, xK_g ), windowPromptGoto defaultXPConfig)
-- > , ((modMask x .|. shiftMask, xK_b ), windowPromptBring defaultXPConfig)
--
+-- The autoComplete option is a handy complement here:
+--
+-- > , ((modMask x .|. shiftMask, xK_g ), windowPromptGoto
+-- > defaultXPConfig { autoComplete = Just 500000 } )
+--
+-- The \'500000\' is the number of microseconds to pause before sending you to
+-- your new window. This is useful so that you don't accidentally send some
+-- keystrokes to the selected client.
+--
-- For detailed instruction on editing the key binding see
-- "XMonad.Doc.Extending#Editing_key_bindings".