microsoft / microsoft/terminal

Running emacs in terminal leads to scrambled text input

Open
#15,893 6 comments 0 reactions 0 assignees View on GitHub
Area-VT Issue-Bug Priority-2 Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.17.230526001

### Windows build number

10.0.19045.0

### Other Software

"GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu)" with org-mode v9.6.8 (inside WSL2)

### Steps to reproduce

Configure emacs to use org-mode and type some text in a line.
Now move on that line to remove and insert text at arbitrary positions, i. e. type " a some characters ".

### Expected Behavior

The new text is exactly as typed.

### Actual Behavior

The cursor is jumping involuntary to the beginning of and back to typing position in line meanwhile garbling the text you already typed in unpredictable manner.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Windows Terminal 1.17.230526001 using WSL2, GNU Emacs 29.1, and org-mode 9.6.8, following the reported editing steps. Compare the typed text with the resulting cursor movement and garbling; done means text inserted at arbitrary positions remains exactly as typed without involuntary cursor jumps.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.