diff --git a/src/Graphics/Vty/Picture.hs b/src/Graphics/Vty/Picture.hs index e3cd043..6522a86 100644 --- a/src/Graphics/Vty/Picture.hs +++ b/src/Graphics/Vty/Picture.hs @@ -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