From a3b31302dd1b7c1ffd3486b35de06c957785b919 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 16 Aug 2021 14:49:19 +0200 Subject: [PATCH] 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 c6d84ab96c3..bc61a3a7cc3 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. -- 2.39.2