mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-29 16:54:42 +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 =
|
data Cursor =
|
||||||
-- | Hide the cursor
|
-- | Hide the cursor
|
||||||
NoCursor
|
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
|
-- | Set the terminal's cursor position without displaying a cursor
|
||||||
-- character. This is important for accessibility with screen
|
-- character. This is important for accessibility with screen
|
||||||
-- readers where a cursor position needs to be reported but we may
|
-- 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
|
-- reasons. The boolean argument indicates whether the positioning
|
||||||
-- should be absolute as with 'AbsoluteCursor' ('True') or logical
|
-- should be absolute as with 'AbsoluteCursor' ('True') or logical
|
||||||
-- as with 'Cursor' ('False').
|
-- 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
|
| Cursor !Int !Int
|
||||||
-- | Show the cursor at the given absolute terminal column and row
|
-- | Show the cursor at the given absolute terminal column and row
|
||||||
| AbsoluteCursor !Int !Int
|
| AbsoluteCursor !Int !Int
|
||||||
|
Loading…
Reference in New Issue
Block a user