Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running emacs in terminal leads to scrambled text input #15893

Open
573 opened this issue Aug 29, 2023 · 6 comments
Open

Running emacs in terminal leads to scrambled text input #15893

573 opened this issue Aug 29, 2023 · 6 comments
Labels
Area-VT Virtual Terminal sequence support Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-2 A description (P2) Product-Terminal The new Windows Terminal.

Comments

@573
Copy link

573 commented Aug 29, 2023

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.

@573 573 added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Aug 29, 2023
@zadjii-msft
Copy link
Member

How are you launching the Terminal? Are you

  • starting the Terminal directly (the start menu, or wt.exe, or taskbar, or whatever)?
  • or are you launching wsl.exe (or ubuntu.exe, or whatever distro of choice) directly?

This sounds vaguely like #14512

Can you try Terminal Preview v1.18 and let us know if it repros on that build/?

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Aug 29, 2023
@573
Copy link
Author

573 commented Aug 29, 2023

@zadjii-msft launching WindowsTerminal.exe via taskbar with one "terminal profile" defined to start wsl.exe, I also tried starting wsl.exe directly from a pwsh.exe instance circumventing WindowsTerminal.exe and there the behaviour was not reproducible.

Will try your steps asap.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Aug 29, 2023
@zadjii-msft zadjii-msft added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Attention The core contributors need to come back around and look at this ASAP. labels Aug 29, 2023
@573
Copy link
Author

573 commented Aug 29, 2023

@zadjii-msft issue persists with wt.exe v1.18.1462.0

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Aug 29, 2023
@lhecker lhecker added Area-VT Virtual Terminal sequence support Product-Terminal The new Windows Terminal. Priority-2 A description (P2) and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Attention The core contributors need to come back around and look at this ASAP. labels Aug 30, 2023
@lhecker
Copy link
Member

lhecker commented Aug 30, 2023

@DHowett has some ideas on how we can collect more info.

@zcobol
Copy link

zcobol commented Aug 31, 2023

@573 is org build-in or installed? Use M-x package-list-packages to check.

@573
Copy link
Author

573 commented Aug 31, 2023

@zcobol actually I see two intances when M-x ...:

org 9.6.8 external Outline-based notes management and organizer
org 9.6.6 built-in Outline-based notes management and organizer

M-x org-version:

Org mode version 9.6.8 ( @ /nix/store/iks7vqhr0lqg084h7aqbmhkakc58inbm-emacs-packages-deps/share/emacs/site-lisp/elpa/o
rg-9.6.8/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-VT Virtual Terminal sequence support Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-2 A description (P2) Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

4 participants