Bug Report: Ctrl-W for cut not working in Emacs in Ubuntu-Terminal #2316

Open
opened 2026-01-30 22:52:14 +00:00 by claunia · 0 comments
Owner

Originally created by @utsavm9 on GitHub (Jun 27, 2019).

Environment

Windows build number: Version 10.0.18362.175
Windows Terminal version (if applicable): Version 0.2.1715.0

Any other software?
Ubuntu 18.04.2 LTS in WSL
GNU Emacs 25.2.2

Steps to reproduce

  • I open a file with Emacs in Ubuntu from Windows Terminal.
  • I select a block of text by setting a Mark with Ctrl-Space and then pressing Up arrow key.
  • I press Ctrl-W to cut text.

Expected behavior

The block of text to be cut, as it does in Ubuntu WSL.

Actual behavior

  • When WSL Ubuntu is the only tab open:
    • DesktopWindowsXamlSource window shows up in taskbar for a second, and then Terminal crashes and that window closes.
  • When another tab is also open:
    • WSL Ubuntu tab just closes. The other tab remains open.
Originally created by @utsavm9 on GitHub (Jun 27, 2019). <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Version 10.0.18362.175 Windows Terminal version (if applicable): Version 0.2.1715.0 Any other software? Ubuntu 18.04.2 LTS in WSL GNU Emacs 25.2.2 ``` # Steps to reproduce * I open a file with Emacs in Ubuntu from Windows Terminal. * I select a block of text by setting a Mark with Ctrl-Space and then pressing Up arrow key. * I press Ctrl-W to cut text. # Expected behavior The block of text to be cut, as it does in Ubuntu WSL. # Actual behavior - When WSL Ubuntu is the only tab open: - `DesktopWindowsXamlSource` window shows up in taskbar for a second, and then Terminal crashes and that window closes. - When another tab is also open: - WSL Ubuntu tab just closes. The other tab remains open.
claunia added the Issue-QuestionArea-InputResolution-AnsweredProduct-Terminal labels 2026-01-30 22:52:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2316