Merge branch 'clone_output' into 'master'
Impl `Clone` to `Output` See merge request davidbittner/ansi-parser!9
This commit is contained in:
@@ -131,7 +131,7 @@ impl Display for AnsiSequence {
|
|||||||
///This is what is outputted by the parsing iterator.
|
///This is what is outputted by the parsing iterator.
|
||||||
///Each block contains either straight-up text, or simply
|
///Each block contains either straight-up text, or simply
|
||||||
///an ANSI escape sequence.
|
///an ANSI escape sequence.
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub enum Output<'a> {
|
pub enum Output<'a> {
|
||||||
TextBlock(&'a str),
|
TextBlock(&'a str),
|
||||||
Escape(AnsiSequence),
|
Escape(AnsiSequence),
|
||||||
|
Reference in New Issue
Block a user