branch: externals/coterm
commit a14ace9fc317052d0c6b281ccec2f8ee7f4925ea
Author: Miha Rihtaršič <m...@kamnitnik.top>
Commit: Miha Rihtaršič <m...@kamnitnik.top>

    Pass through sequence "\e\e", used by package 'bash-completion'
---
 coterm.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/coterm.el b/coterm.el
index d3ade99..3dab751 100644
--- a/coterm.el
+++ b/coterm.el
@@ -568,12 +568,13 @@ is the process mark."
   ;; Removed: \032 (\C-z)
   ;; Added: OSC sequence \e] ... ; ... \e\\ (or \a)
   ;; Added: sequences \e= and \e>
+  ;; Added: Invalid sequence \e\e, used by package `bash-completion'
   (concat
    ;; A control character,
    "\\(?:[\n\000\007\t\b\016\017]\\|\r\n?\\|"
    ;; a C1 escape coded character (see [ECMA-48] section 5.3 "Elements
    ;; of the C1 set"),
-   "\e\\(?:[DM78c=>]\\|"
+   "\e\\(?:[DM78c=>\e]\\|"
    ;; Emacs specific control sequence from term.el.  In coterm, we simply
    ;; ignore them.
    "AnSiT[^\n]+\n\\|"

Reply via email to