Emacs cursor displayed incorrectly #3717

Open
opened 2026-01-30 23:28:16 +00:00 by claunia · 0 comments
Owner

Originally created by @rlpeacock on GitHub (Sep 2, 2019).

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
 Win32NT             10.0.18922.0 Microsoft Windows NT 10.0.18922.0

Windows Terminal version (if applicable):
0.4.2382.0

Any other software?
Ubuntu 18.04.2
GNU Emacs 25.2.2

Steps to reproduce

echo "abc
def" > foo
emacs foo

Press down arrow, then up arrow. Cursor is now on 'a' on first line.
Try C-e (control+e). Cursor should move to end of line but does not appear to move. Hit right arrow. Cursor moves to 'd' on 2nd line.

Press up arrow again. Press right arrow four times. Cursor remains on first character until 4th press at which point it jumps to 'd' on 2nd line again.

Clearly the cursor is moving but the display is not reflecting that.

Note that as with #283 setting terminal to rxvt or using tmux fixes the issue, however, that bug was marked as fixed in version 1903, which I have.

Expected behavior

Cursor should move in response to keystrokes.

Actual behavior

Cursor appears not to move until movement takes it to a new line.

Originally created by @rlpeacock on GitHub (Sep 2, 2019). # Environment ```none Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] Win32NT 10.0.18922.0 Microsoft Windows NT 10.0.18922.0 Windows Terminal version (if applicable): 0.4.2382.0 Any other software? Ubuntu 18.04.2 GNU Emacs 25.2.2 ``` # Steps to reproduce ``` echo "abc def" > foo emacs foo ``` Press down arrow, then up arrow. Cursor is now on 'a' on first line. Try C-e (control+e). Cursor should move to end of line but does not appear to move. Hit right arrow. Cursor moves to 'd' on 2nd line. Press up arrow again. Press right arrow four times. Cursor remains on first character until 4th press at which point it jumps to 'd' on 2nd line again. Clearly the cursor is moving but the display is not reflecting that. Note that as with #283 setting terminal to rxvt or using tmux fixes the issue, however, that bug was marked as fixed in version 1903, which I have. # Expected behavior Cursor should move in response to keystrokes. # Actual behavior Cursor appears not to move until movement takes it to a new line.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3717