add documentation for XPPosition in X.Prompt

This commit is contained in:
Bogdan Sinitsyn
2015-12-31 23:36:07 +03:00
parent 6043914841
commit d81b4e5bcb

View File

@@ -228,8 +228,11 @@ class XPrompt t where
data XPPosition = Top
| Bottom
| CenteredAt { xpHeight :: Rational
, xpWidth :: Rational }
| CenteredAt { xpTopY :: Rational
-- ^ Relative Y coordinate of top of the prompt.
, xpWidth :: Rational
-- ^ Relative width of the prompt
}
deriving (Show,Read)
amberXPConfig, defaultXPConfig, greenXPConfig :: XPConfig