diff options
Diffstat (limited to 'src/ansi.rs')
-rw-r--r-- | src/ansi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ansi.rs b/src/ansi.rs index c419d7e5..f6d5de37 100644 --- a/src/ansi.rs +++ b/src/ansi.rs @@ -303,7 +303,7 @@ pub enum TabulationClearMode { /// /// The order here matters since the enum should be castable to a `usize` for /// indexing a color list. -#[derive(Debug, Copy, Clone, Eq, PartialEq)] +#[derive(Debug, Copy, Clone, Eq, PartialEq, PartialOrd, Ord)] pub enum Color { /// Black Black = 0, |