~exitb/retrofit

cdfbaae54f5b13b6685131808ab83b92bf94a1e1 — exitb 1 year, 10 months ago 9d3c076
Get rid of unused code
1 files changed, 0 insertions(+), 7 deletions(-)

M src/adapter.rs
M src/adapter.rs => src/adapter.rs +0 -7
@@ 7,7 7,6 @@ use std::sync::Arc;
pub enum Error {
    UnsupportedCsiForStyleParsing(ControlSequenceIntroducer),
    UnknownPabloDraw24BitColorParameterFormat(Vec<u16>),
    ParameterToColor(std::num::TryFromIntError),
    ApplyingUnknownParameter(u16),
    ColorValueOutOfBounds(u16),
    UnknownControlCharacter(char),


@@ 122,12 121,6 @@ impl Style {
            }
            ControlSequenceIntroducer::PabloDraw24BitColor => {
                if truecolor {
                    impl From<std::num::TryFromIntError> for Error {
                        fn from(err: std::num::TryFromIntError) -> Self {
                            Error::ParameterToColor(err)
                        }
                    }

                    match *parameters {
                        [0, red, green, blue] => {
                            self.background =