[vte/wip/egmont/bidi: 16/84] BDSM hook



commit e18186a34d2fb2ff3835384f615e3ce51d52fb36
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 c6ed3638..18036651 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]