mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
X.P: Fix some typos in comments
This commit is contained in:
parent
f3ee6289ec
commit
903e50a65c
@ -290,14 +290,14 @@ data XPPosition = Top
|
|||||||
| Bottom
|
| Bottom
|
||||||
-- | Prompt will be placed in the center horizontally and
|
-- | Prompt will be placed in the center horizontally and
|
||||||
-- in the certain place of screen vertically. If it's in the upper
|
-- in the certain place of screen vertically. If it's in the upper
|
||||||
-- part of the screen, completion window will be placed below(like
|
-- part of the screen, completion window will be placed below (like
|
||||||
-- in 'Top') and otherwise above(like in 'Bottom')
|
-- in 'Top') and otherwise above (like in 'Bottom')
|
||||||
| CenteredAt { xpCenterY :: Rational
|
| CenteredAt { xpCenterY :: Rational
|
||||||
-- ^ Rational between 0 and 1, giving
|
-- ^ Rational between 0 and 1, giving
|
||||||
-- y coordinate of center of the prompt relative to the screen height.
|
-- y coordinate of center of the prompt relative to the screen height.
|
||||||
, xpWidth :: Rational
|
, xpWidth :: Rational
|
||||||
-- ^ Rational between 0 and 1, giving
|
-- ^ 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)
|
deriving (Show,Read)
|
||||||
|
|
||||||
@ -445,7 +445,7 @@ setCommand xs s = s { commandHistory = (commandHistory s) { W.focus = xs }}
|
|||||||
setInput :: String -> XP ()
|
setInput :: String -> XP ()
|
||||||
setInput = modify . setCommand
|
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.
|
-- where 'get' or similar can't be used to retrieve it.
|
||||||
getInput :: XP String
|
getInput :: XP String
|
||||||
getInput = gets command
|
getInput = gets command
|
||||||
|
Loading…
x
Reference in New Issue
Block a user