Skip to content

Commit

Permalink
Merge pull request xmonad#869 from dcousens/patch-1
Browse files Browse the repository at this point in the history
X.P: Fix some typos in comments
  • Loading branch information
slotThe authored Jan 24, 2024
2 parents f3ee628 + 903e50a commit d54d37e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions XMonad/Prompt.hs
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,14 @@ data XPPosition = Top
| Bottom
-- | Prompt will be placed in the center horizontally and
-- in the certain place of screen vertically. If it's in the upper
-- part of the screen, completion window will be placed below(like
-- in 'Top') and otherwise above(like in 'Bottom')
-- part of the screen, completion window will be placed below (like
-- in 'Top') and otherwise above (like in 'Bottom')
| CenteredAt { xpCenterY :: Rational
-- ^ Rational between 0 and 1, giving
-- y coordinate of center of the prompt relative to the screen height.
, xpWidth :: Rational
-- ^ Rational between 0 and 1, giving
-- width of the prompt relatave to the screen width.
-- width of the prompt relative to the screen width.
}
deriving (Show,Read)

Expand Down Expand Up @@ -445,7 +445,7 @@ setCommand xs s = s { commandHistory = (commandHistory s) { W.focus = xs }}
setInput :: String -> XP ()
setInput = modify . setCommand

-- | Returns the current input string. Intented for use in custom keymaps
-- | Returns the current input string. Intended for use in custom keymaps
-- where 'get' or similar can't be used to retrieve it.
getInput :: XP String
getInput = gets command
Expand Down

0 comments on commit d54d37e

Please sign in to comment.