about summary refs log tree commit diff
path: root/src/Xanthous/Data/EntityChar.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xanthous/Data/EntityChar.hs')
-rw-r--r--src/Xanthous/Data/EntityChar.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xanthous/Data/EntityChar.hs b/src/Xanthous/Data/EntityChar.hs
index 7aeb5fdf86a0..855a3462daee 100644
--- a/src/Xanthous/Data/EntityChar.hs
+++ b/src/Xanthous/Data/EntityChar.hs
@@ -30,7 +30,7 @@ data EntityChar = EntityChar
   { _char :: Char
   , _style :: Vty.Attr
   }
-  deriving stock (Show, Eq, Generic)
+  deriving stock (Show, Eq, Ord, Generic)
   deriving anyclass (NFData, CoArbitrary, Function)
   deriving Arbitrary via GenericArbitrary EntityChar
 makeFieldsNoPrefix ''EntityChar