mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-29 08:49:40 +03:00
Fix Cursor constructor documentation order (fixes #229)
This commit is contained in:
parent
f8f45c2af5
commit
9891504cfb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user