pub fn escape_code(&self) -> &'static str {
        match self {
            Self::Bold          => "\x1b[1;1m",
            Self::Faint         => "\x1b[1;2m",
            Self::Italic        => "\x1b[1;3m",
            Self::Underline     => "\x1b[1;4m",
            Self::StrikeThrough => "\x1b[1;9m",
            Self::Reset         => "\x1b[1;0m",
        }

    }
/// A fucntion which will produce the ASCII escape code for a given Sgr.
A fucntion which will produce the ASCII escape code for a given Sgr.
A fucntion which will produce the ASCII escape code for a given Sgr .
pub fn escape_code(&self) -> &'static str {
        match self {
            Self::Bold          => "\x1b[1;1m",
            Self::Faint         => "\x1b[1;2m",
            Self::Italic        => "\x1b[1;3m",
            Self::Underline     => "\x1b[1;4m",
            Self::StrikeThrough => "\x1b[1;9m",
            Self::Reset         => "\x1b[1;0m",
        }
    }
pub fn escape_code ( & self ) -> & ' static str { match self { Self :: Bold => " \x1b " , Self :: Faint => " \x1b " , Self :: Italic => " \x1b " , Self :: Underline => " \x1b " , Self :: StrikeThrough => " \x1b " , Self :: Reset => " \x1b " , } }
A fucntion which will produce the ASCII escape code for a given Sgr.
A fucntion which will produce the ASCII escape code for a given Sgr .
&self
&self