[vte] emulation: Remove support for obsolete charset
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] emulation: Remove support for obsolete charset
- Date: Fri, 31 Jan 2020 23:00:16 +0000 (UTC)
commit c4f90c53cb1f2267eb7b7de9dc834ac17720f51b
Author: Christian Persch <chpe src gnome org>
Date: Sat Feb 1 00:00:00 2020 +0100
emulation: Remove support for obsolete charset
https://bugzilla.gnome.org/show_bug.cgi?id=732586#c5
src/vte.cc | 3 ---
src/vteinternal.hh | 3 +--
src/vteseq.cc | 7 -------
3 files changed, 1 insertion(+), 12 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index 2c76bae0..3b261973 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -2855,9 +2855,6 @@ Terminal::insert_char(gunichar c,
if (G_UNLIKELY (*m_character_replacement == VTE_CHARACTER_REPLACEMENT_LINE_DRAWING)) {
if (c >= 95 && c <= 126)
c = line_drawing_map[c - 95];
- } else if (G_UNLIKELY (*m_character_replacement == VTE_CHARACTER_REPLACEMENT_BRITISH)) {
- if (G_UNLIKELY (c == '#'))
- c = 0x00a3; /* pound sign */
}
/* Figure out how many columns this character should occupy. */
diff --git a/src/vteinternal.hh b/src/vteinternal.hh
index abaf7e88..93e90527 100644
--- a/src/vteinternal.hh
+++ b/src/vteinternal.hh
@@ -95,8 +95,7 @@ using Cursor = std::variant<std::string,
typedef enum _VteCharacterReplacement {
VTE_CHARACTER_REPLACEMENT_NONE,
- VTE_CHARACTER_REPLACEMENT_LINE_DRAWING,
- VTE_CHARACTER_REPLACEMENT_BRITISH
+ VTE_CHARACTER_REPLACEMENT_LINE_DRAWING
} VteCharacterReplacement;
typedef struct _VtePaletteColor {
diff --git a/src/vteseq.cc b/src/vteseq.cc
index 3159c46a..f05b67e0 100644
--- a/src/vteseq.cc
+++ b/src/vteseq.cc
@@ -5717,13 +5717,6 @@ Terminal::GnDm(vte::parser::Sequence const& seq)
replacement = VTE_CHARACTER_REPLACEMENT_LINE_DRAWING;
break;
- case VTE_CHARSET_BRITISH_NRCS:
- /* # is converted to £ */
- /* FIXME: Remove this */
- replacement = VTE_CHARACTER_REPLACEMENT_BRITISH;
- break;
-
- /* FIXME: are any of the other charsets still useful? */
default:
replacement = VTE_CHARACTER_REPLACEMENT_NONE;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]