about summary refs log tree commit diff
path: root/src/entities/entity_char.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/entity_char.rs')
-rw-r--r--src/entities/entity_char.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/entity_char.rs b/src/entities/entity_char.rs
index 578aaf3da5c3..2f845820021e 100644
--- a/src/entities/entity_char.rs
+++ b/src/entities/entity_char.rs
@@ -4,7 +4,9 @@ use termion::color;
 
 #[derive(Debug, Deserialize)]
 pub struct EntityChar {
+    #[serde(default)]
     color: Color,
+
     #[serde(rename = "char")]
     chr: char,
 }