aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--XMonad/Prompt.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/XMonad/Prompt.hs b/XMonad/Prompt.hs
index 8de97bb..bb4966b 100644
--- a/XMonad/Prompt.hs
+++ b/XMonad/Prompt.hs
@@ -68,8 +68,6 @@ import System.Posix.Files
-- TODO:
--
-- * scrolling the completions that don't fit in the window (?)
---
--- * commands to edit the command line
type XP = StateT XPState IO
@@ -312,7 +310,7 @@ killAfter :: XP ()
killAfter =
modify $ \s -> s { command = take (offset s) (command s) }
--- | Kill the next/previous word
+-- | Kill the next\/previous word
killWord :: Direction -> XP ()
killWord d = do
XPS { command = c, offset = o } <- get