[vte] parser: cat: Handle SCI instead of asserting
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] parser: cat: Handle SCI instead of asserting
- Date: Fri, 17 Aug 2018 18:52:43 +0000 (UTC)
commit 1d2001c4a2bcc4d637a61dbf7595f8ac48c7618b
Author: Christian Persch <chpe src gnome org>
Date: Fri Aug 17 20:51:35 2018 +0200
parser: cat: Handle SCI instead of asserting
src/parser-cat.cc | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/src/parser-cat.cc b/src/parser-cat.cc
index fb3054d3..b45569b0 100644
--- a/src/parser-cat.cc
+++ b/src/parser-cat.cc
@@ -287,6 +287,16 @@ print_seq(GString* str,
break;
}
+ case VTE_SEQ_SCI: {
+ if (seq->terminator <= 0x20)
+ g_string_append_printf(str, "{SCI %d/%d}",
+ seq->terminator / 16,
+ seq->terminator % 16);
+ else
+ g_string_append_printf(str, "{SCI %c}", seq->terminator);
+ break;
+ }
+
default:
assert(false);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]