]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix cursor movement on the Linux console with certain characters
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 16 Aug 2021 12:49:19 +0000 (14:49 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 16 Aug 2021 12:49:19 +0000 (14:49 +0200)
* 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

index c6d84ab96c32891f7dfa95035838a9e5b6abe57c..bc61a3a7cc316872b44ae60720c22fe647d4accc 100644 (file)
@@ -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.