aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.rs')
-rw-r--r--src/parser.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 5099eb9..453cf49 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -38,3 +38,9 @@ impl Parser {
&mut self.screen
}
}
+
+impl Default for Parser {
+ fn default() -> Self {
+ Self::new(24, 80, 0)
+ }
+}