aboutsummaryrefslogtreecommitdiff
path: root/src/ansi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ansi.rs')
-rw-r--r--src/ansi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ansi.rs b/src/ansi.rs
index f6d5de37..eaa34430 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, PartialOrd, Ord)]
+#[derive(Debug, Copy, Clone, Eq, PartialEq, PartialOrd, Ord, Serialize, Deserialize)]
pub enum Color {
/// Black
Black = 0,