[vte] widget: Fix OSC 112 (reset cursor color)



commit 791a4337cc74ce21db4f76e428e1190e0bb9815a
Author: Egmont Koblinger <egmont gmail com>
Date:   Sun Sep 11 21:09:22 2016 +0200

    widget: Fix OSC 112 (reset cursor color)
    
    This was accidentally broken in commit 86f206b3ec01033c07a76cf949276058489b53ee.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771256

 src/caps.cc        |    2 +-
 src/vteseq-n.gperf |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/caps.cc b/src/caps.cc
index 98e0621..4757126 100644
--- a/src/caps.cc
+++ b/src/caps.cc
@@ -283,7 +283,7 @@ const char _vte_xterm_capability_strings[] =
         ENTRY(OSC "104;%m" ST, "reset-color")
         ENTRY(OSC "110" ST, "reset-foreground-color")
         ENTRY(OSC "111" ST, "reset-background-color")
-        ENTRY(OSC "112" ST, "reset-cursor-color")
+        ENTRY(OSC "112" ST, "reset-cursor-background-color")
         ENTRY(OSC "113" ST, "reset-mouse-cursor-foreground-color")
         ENTRY(OSC "114" ST, "reset-mouse-cursor-background-color")
         ENTRY(OSC "115" ST, "reset-tek-foreground-color")
diff --git a/src/vteseq-n.gperf b/src/vteseq-n.gperf
index 5b9e0a6..f060c98 100644
--- a/src/vteseq-n.gperf
+++ b/src/vteseq-n.gperf
@@ -87,7 +87,7 @@ struct vteseq_n_struct {
 "window-manipulation", VTE_SEQUENCE_HANDLER(vte_sequence_handler_window_manipulation)
 "change-cursor-background-color-bel", 
VTE_SEQUENCE_HANDLER(vte_sequence_handler_change_cursor_background_color_bel)
 "change-cursor-background-color-st", 
VTE_SEQUENCE_HANDLER(vte_sequence_handler_change_cursor_background_color_st)
-"reset-cursor-background_color", VTE_SEQUENCE_HANDLER(vte_sequence_handler_reset_cursor_background_color)
+"reset-cursor-background-color", VTE_SEQUENCE_HANDLER(vte_sequence_handler_reset_cursor_background_color)
 "character-attributes", VTE_SEQUENCE_HANDLER(vte_sequence_handler_character_attributes)
 "device-status-report", VTE_SEQUENCE_HANDLER(vte_sequence_handler_device_status_report)
 "set-scrolling-region", VTE_SEQUENCE_HANDLER(vte_sequence_handler_set_scrolling_region)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]