From 9a7a63bfb49f05867cede1fb4a421780484ed581 Mon Sep 17 00:00:00 2001 From: Bogdan Sinitsyn Date: Fri, 8 Jan 2016 20:58:56 +0300 Subject: [PATCH] improve documentation for X.Prompt --- XMonad/Prompt.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/XMonad/Prompt.hs b/XMonad/Prompt.hs index 7a6d0f3f..6a137c39 100644 --- a/XMonad/Prompt.hs +++ b/XMonad/Prompt.hs @@ -233,9 +233,11 @@ data XPPosition = Top -- part of the screen, completion window will be placed below(like -- in 'Top') and otherwise above(like in 'Bottom') | CenteredAt { xpCenterY :: Rational - -- ^ Y coordinate of center of the prompt relative to the screen height. + -- ^ Rational between 0 and 1, giving + -- y coordinate of center of the prompt relative to the screen height. , xpWidth :: Rational - -- ^ Width of the prompt relatave to the screen width. + -- ^ Rational between 0 and 1, giving + -- width of the prompt relatave to the screen width. } deriving (Show,Read)