Fix Cursor constructor documentation order (fixes #229)

This commit is contained in:
Jonathan Daugherty 2022-01-10 15:36:02 -08:00
parent f8f45c2af5
commit 9891504cfb

View File

@ -79,9 +79,6 @@ picForLayers is = Picture
data Cursor =
-- | Hide the cursor
NoCursor
-- | Show the cursor at the given logical column accounting for
-- character width in the presence of multi-column characters.
| PositionOnly !Bool !Int !Int
-- | Set the terminal's cursor position without displaying a cursor
-- character. This is important for accessibility with screen
-- readers where a cursor position needs to be reported but we may
@ -89,6 +86,9 @@ data Cursor =
-- reasons. The boolean argument indicates whether the positioning
-- should be absolute as with 'AbsoluteCursor' ('True') or logical
-- as with 'Cursor' ('False').
| PositionOnly !Bool !Int !Int
-- | Show the cursor at the given logical column accounting for
-- character width in the presence of multi-column characters.
| Cursor !Int !Int
-- | Show the cursor at the given absolute terminal column and row
| AbsoluteCursor !Int !Int