From b33fc3a25a7d5110b24d5800bd6b3044b9a50106 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 28 Jan 2018 20:34:23 +0100 Subject: [PATCH] yaft: remove unused DCS code artifacts Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/96cf8210808815bd56b9e6115ea1f1b7237ca832 Author: Stefan Seyfried Date: 2018-01-28 (Sun, 28 Jan 2018) --- src/gui/widget/yaft/ctrlseq/esc.cpp | 7 +------ src/gui/widget/yaft/yaft_priv.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/gui/widget/yaft/ctrlseq/esc.cpp b/src/gui/widget/yaft/ctrlseq/esc.cpp index 86e98cbac..5b97557c8 100644 --- a/src/gui/widget/yaft/ctrlseq/esc.cpp +++ b/src/gui/widget/yaft/ctrlseq/esc.cpp @@ -108,12 +108,7 @@ void YaFT_p::enter_osc(void) { esc.state = STATE_OSC; } -#if 0 -void YaFT_p::enter_dcs(void) -{ - esc.state = STATE_DCS; -} -#endif + void YaFT_p::ris(void) { reset(); diff --git a/src/gui/widget/yaft/yaft_priv.h b/src/gui/widget/yaft/yaft_priv.h index 869657e28..d82bdc9a7 100644 --- a/src/gui/widget/yaft/yaft_priv.h +++ b/src/gui/widget/yaft/yaft_priv.h @@ -108,7 +108,6 @@ class YaFT_p STATE_ESC = 0x01, /* 0x1B, \033, ESC */ STATE_CSI = 0x02, /* ESC [ */ STATE_OSC = 0x04, /* ESC ] */ - STATE_DCS = 0x08, /* ESC P */ }; enum char_attr {