summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-08-16 14:49:19 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-08-16 14:49:19 +0200
commita3b31302dd1b7c1ffd3486b35de06c957785b919 (patch)
tree100b82a278333fbb8830426c45e3b15a90df011e /lisp
parentb9243b034b9218bbc0bf6a1e12903aea008316cb (diff)
downloademacs-a3b31302dd1b7c1ffd3486b35de06c957785b919.tar.gz
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).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/term/linux.el3
1 files changed, 3 insertions, 0 deletions
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.