aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Prompt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad/Prompt.hs')
-rw-r--r--XMonad/Prompt.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/XMonad/Prompt.hs b/XMonad/Prompt.hs
index 05c5cd4..8330316 100644
--- a/XMonad/Prompt.hs
+++ b/XMonad/Prompt.hs
@@ -90,10 +90,10 @@ data XPState =
data XPConfig =
XPC { font :: String -- ^ Font
- , bgColor :: String -- ^ Backgroud color
+ , bgColor :: String -- ^ Background color
, fgColor :: String -- ^ Font color
, fgHLight :: String -- ^ Font color of a highlighted completion entry
- , bgHLight :: String -- ^ Backgroud color of a highlighted completion entry
+ , bgHLight :: String -- ^ Background color of a highlighted completion entry
, borderColor :: String -- ^ Border color
, promptBorderWidth :: Dimension -- ^ Border width
, position :: XPPosition -- ^ Position: 'Top' or 'Bottom'
@@ -336,7 +336,7 @@ startOfLine :: XP ()
startOfLine =
modify $ \s -> s { offset = 0 }
--- | Flush the command string and reset the offest
+-- | Flush the command string and reset the offset
flushString :: XP ()
flushString = do
modify $ \s -> s { command = "", offset = 0}
@@ -438,7 +438,7 @@ printPrompt drw = do
let (gc,(c,(d,fs))) = (gcon &&& config &&& dpy &&& fontS) st
(prt,(com,off)) = (show . xptype &&& command &&& offset) st
str = prt ++ com
- -- scompose the string in 3 part: till the cursor, the cursor and the rest
+ -- compose the string in 3 parts: till the cursor, the cursor and the rest
(f,p,ss) = if off >= length com
then (str, " ","") -- add a space: it will be our cursor ;-)
else let (a,b) = (splitAt off com)