shift+left at the end of a line in the console selects a non existent character #6822

Open
opened 2026-01-31 00:48:05 +00:00 by claunia · 3 comments
Owner

Originally created by @asklar on GitHub (Mar 10, 2020).

Environment

19582 rs_prerelease

Steps to reproduce

open cmd
type: type f:\mx\public\x86fre.nocil\onecore\external\sdk\inc\crt\direct.h

Expected behavior

shift+left should select the h, and ctrl+shift+left should select the whole path

Actual behavior

  • shift+left selects the empty character after the h
  • ctrl+shift+left selects the empty character after the h. A 2nd ctrl+shift+left selects the path
Originally created by @asklar on GitHub (Mar 10, 2020). # Environment 19582 rs_prerelease # Steps to reproduce open cmd type: type f:\mx\public\x86fre.nocil\onecore\external\sdk\inc\crt\direct.h # Expected behavior shift+left should select the h, and ctrl+shift+left should select the whole path # Actual behavior * shift+left selects the empty character after the h * ctrl+shift+left selects the empty character after the h. A 2nd ctrl+shift+left selects the path
claunia added the Product-ConhostIssue-BugPriority-3Area-Input labels 2026-01-31 00:48:05 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 12, 2020):

Do you remember when this last worked? I just tested conhost back to RS4 and it does the "Actual behavior"; conhostv1 doesn't do selection, so it's right out.

@DHowett-MSFT commented on GitHub (Mar 12, 2020): Do you remember when this last worked? I just tested conhost back to RS4 and it does the "Actual behavior"; conhostv1 doesn't do selection, so it's right out.
Author
Owner

@asklar commented on GitHub (Mar 12, 2020):

I'm not actually sure but this def feels like a regression and I can't think of a case where the current behavior would be by design or desirable/useful in any case: doing ctrl+shift+left the first time seems to select a character but it doesn't actually do anything, if you copy it nothing gets copied. it just seems like an added unnecessary productivity hurdle if I have to ctrl+shift+left twice now instead of just once

@asklar commented on GitHub (Mar 12, 2020): I'm not actually sure but this def feels like a regression and I can't think of a case where the current behavior would be by design or desirable/useful in any case: doing ctrl+shift+left the first time seems to select a character but it doesn't actually do anything, if you copy it nothing gets copied. it just seems like an added unnecessary productivity hurdle if I have to ctrl+shift+left twice now instead of just once
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 13, 2020):

Triaged into console backlog. Confirmed this is not a regression: it behaves like this in TH1, which is when this feature ("extended text editing keys") was introduced.

@DHowett-MSFT commented on GitHub (Mar 13, 2020): Triaged into console backlog. Confirmed this is not a regression: it behaves like this in TH1, which is when this feature ("extended text editing keys") was introduced.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6822