on master help sign in
Fix Cursor constructor documentation order (fixes #229)
9891504Jonathan Daugherty
src/Graphics/Vty/Picture.hs+3−3
@@ -79,9 +79,6 @@ picForLayers is = Picture
79data Cursor =
79data Cursor =
80 -- | Hide the cursor
80 -- | Hide the cursor
81 NoCursor
81 NoCursor
82− -- | Show the cursor at the given logical column accounting for
83− -- character width in the presence of multi-column characters.
84− | PositionOnly !Bool !Int !Int
85 -- | Set the terminal's cursor position without displaying a cursor
82 -- | Set the terminal's cursor position without displaying a cursor
86 -- character. This is important for accessibility with screen
83 -- character. This is important for accessibility with screen
87 -- readers where a cursor position needs to be reported but we may
84 -- readers where a cursor position needs to be reported but we may
@@ -89,6 +86,9 @@ data Cursor =
89 -- reasons. The boolean argument indicates whether the positioning
86 -- reasons. The boolean argument indicates whether the positioning
90 -- should be absolute as with 'AbsoluteCursor' ('True') or logical
87 -- should be absolute as with 'AbsoluteCursor' ('True') or logical
91 -- as with 'Cursor' ('False').
88 -- as with 'Cursor' ('False').
89+ | PositionOnly !Bool !Int !Int
90+ -- | Show the cursor at the given logical column accounting for
91+ -- character width in the presence of multi-column characters.
92 | Cursor !Int !Int
92 | Cursor !Int !Int
93 -- | Show the cursor at the given absolute terminal column and row
93 -- | Show the cursor at the given absolute terminal column and row
94 | AbsoluteCursor !Int !Int
94 | AbsoluteCursor !Int !Int