conhost VK_F4 regression #7023

Open
opened 2026-01-31 00:53:09 +00:00 by claunia · 0 comments
Owner

Originally created by @tamlin-mike on GitHub (Mar 20, 2020).

Originally assigned to: @lhecker on GitHub.

Environment

Windows 10.0.18363.592 (bug also present in some earlier build(s))

Steps to reproduce

  • cmd.exe
  • C:\>aaa bbb ccc ddd
  • Home, Ctrl-Right. Cursor should now be before the first 'b'.
  • F4, Space. 'bbb' gets deleted.

Expected behavior

Visual cursor position remains (i.e. now just before ' ccc').

Actual behavior

  1. Visual cursor position moves to EOL.
  2. To make it worse, the insertion-point still is where the caret was, If you now type 'x' command line goes from 'aaa ccc ddd' to 'aaa x ccc ddd', while the cursor remains at EOL!
Originally created by @tamlin-mike on GitHub (Mar 20, 2020). Originally assigned to: @lhecker on GitHub. # Environment ``` Windows 10.0.18363.592 (bug also present in some earlier build(s)) ``` # Steps to reproduce - cmd.exe - `C:\>aaa bbb ccc ddd` - Home, Ctrl-Right. Cursor should now be before the first 'b'. - F4, Space. 'bbb' gets deleted. # Expected behavior Visual cursor position remains (i.e. now just before ' ccc'). # Actual behavior 1. Visual cursor position moves to EOL. 2. To make it worse, the insertion-point still is where the caret _was_, If you now type 'x' command line goes from 'aaa ccc ddd' to 'aaa x ccc ddd', while the cursor remains at EOL!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7023