Merge pull request #139 from noughtmare/patch-2
Derive Eq for Cursor
commit1fe6bdb08a6fb26d5146cccf520a2f25a62d8c04
authorJonathan Daugherty <cygnus@foobox.com>
dateFri 5 Jan 2018, 08:22 (9 years ago)
parent59797982b9272f
src/Graphics/Vty/Picture.hs+1
@@ -85,6 +85,7 @@ data Cursor =
8585 | Cursor !Int !Int
8686 -- | Show the cursor at the given absolute terminal column and row
8787 | AbsoluteCursor !Int !Int
88+ deriving Eq
8889
8990instance NFData Cursor where
9091 rnf c = c `seq` ()