missed the empty graphics mode sequence

This commit is contained in:
David Bittner
2019-05-10 10:26:25 -04:00
parent 0fbea712c2
commit 9520aeafbf
2 changed files with 12 additions and 2 deletions

View File

@@ -117,12 +117,22 @@ named!(
)
);
named!(
graphics_mode4<&str, AnsiSequence>,
do_parse!(
tag!("[m") >>
(AnsiSequence::SetGraphicsMode(vec![]))
)
);
named!(
graphics_mode<&str, AnsiSequence>,
alt!(
graphics_mode1
| graphics_mode2
| graphics_mode3)
| graphics_mode3
| graphics_mode4
)
);
named!(