emacs-diffs
[Top][All Lists]
Advanced

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

master a3b3130 1/2: Fix cursor movement on the Linux console with certai


From: Lars Ingebrigtsen
Subject: master a3b3130 1/2: Fix cursor movement on the Linux console with certain characters
Date: Mon, 16 Aug 2021 09:41:40 -0400 (EDT)

branch: master
commit a3b31302dd1b7c1ffd3486b35de06c957785b919
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix cursor movement on the Linux console with certain characters
    
    * lisp/term/linux.el (terminal-init-linux): Switch off
    auto-compositions, because they confuse cursor movement on the
    Linux console (bug#21363).
---
 lisp/term/linux.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/term/linux.el b/lisp/term/linux.el
index c6d84ab..bc61a3a 100644
--- a/lisp/term/linux.el
+++ b/lisp/term/linux.el
@@ -12,6 +12,9 @@
   ;; It can't really display underlines.
   (tty-no-underline)
 
+  ;; Compositions confuse cursor movement.
+  (global-auto-composition-mode -1)
+
   (ignore-errors (when gpm-mouse-mode (require 't-mouse) (gpm-mouse-enable)))
 
   ;; Make Latin-1 input characters work, too.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]