[vte/wip/egmont/bidi: 7/76] BDSM hook



commit 45aae0178c1a9af477aeb6f6b1ec64206a9eb632
Author: Egmont Koblinger <egmont gmail com>
Date:   Fri Aug 17 20:11:59 2018 +0200

    BDSM hook

 src/vteseq.cc | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/vteseq.cc b/src/vteseq.cc
index 6352300f..a95e819d 100644
--- a/src/vteseq.cc
+++ b/src/vteseq.cc
@@ -456,6 +456,13 @@ Terminal::set_mode_ecma(vte::parser::Sequence const& seq,
                         continue;
 
                 m_modes_ecma.set(mode, set);
+
+                if (mode == m_modes_ecma.eBDSM) {
+                        _vte_debug_print(VTE_DEBUG_BIDI,
+                                         "BiDi %s mode\n",
+                                         set ? "implicit" : "explicit");
+                        /* Will need to take immediate action too */
+                }
         }
 }
 


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