Scenario: Keyboard Text Selection #6968

Open
opened 2026-01-31 00:51:51 +00:00 by claunia · 1 comment
Owner

Originally created by @carlos-zamora on GitHub (Mar 18, 2020).

Originally assigned to: @carlos-zamora on GitHub.

[Original issue: #715] [Original Spec: #2840] [Mark mode spec: #5804] [initial PR: #10824] [markers PR: #10865]

Features

Bugs

Misc.

  • Remove optional param for copy func, manually clear selection instead
  • feedback from #13533:
    • Prioritize mark mode key bindings over custom key bindings when in mark mode
    • Scrolling...
      • [PROTOTYPE] scrolling should move the "mark"
      • If we've scrolled, then we enter mark mode, start position should be somewhere in the visible area (NOT back at the input buffer aka the cursor position).

PRs

Originally created by @carlos-zamora on GitHub (Mar 18, 2020). Originally assigned to: @carlos-zamora on GitHub. ##### [Original issue: #715] [Original Spec: #2840] [Mark mode spec: #5804] [initial PR: #10824] [markers PR: #10865] ## Features * [x] #715 * [x] Quick Edit (modify existing selection w/ keyboard) * [x] #1469 * implicit mark mode * [ ] #11985 - see also: #13369 * [x] [follow-up] #3663 * [x] [follow-up] #6649 * [x] [follow-up] #4985 ## Bugs - #13413 - #13447 - #13485 ## Misc. * [ ] [Remove optional param for copy func, manually clear selection instead](https://github.com/microsoft/terminal/pull/13360#discussion_r905290481) * feedback from #13533: - [ ] Prioritize mark mode key bindings over custom key bindings when in mark mode - Scrolling... - [ ] [PROTOTYPE] scrolling should move the "mark" - [ ] If we've scrolled, then we enter mark mode, start position should be somewhere in the visible area (NOT back at the input buffer aka the cursor position). ## PRs - Spec... - #2840 - #5804 - Impl... - #3758 - #10824 - #13045 - #10865 - #13053 - #13358 - #13370 - #13405 - #13435
claunia added the Area-InputProduct-TerminalArea-TerminalControlIssue-Scenario labels 2026-01-31 00:51:51 +00:00
Author
Owner

@Hermholtz commented on GitHub (Oct 6, 2024):

I would like to be able to edit text in Windows Terminal the same way it happens e.g. in Notepad, Microsoft Word or all other applications, i.e.:

  • Selection with SHIFT+arrows, SHIFT+CTRL+arrows, SHIFT+Home, End.
  • Cut, Copy, Paste using familiar keys.
  • The entire selected text is overwritten when I press a "normal" key, e.g. a letter, a symbol or a digit, or when I paste something.
  • The selection is cleared when I press navigation key (arrow, CTRL+arrow, Home, End, PgUp, PgDn).

The Mark Mode is interesting, but not really what Microsoft made us familiar with since '90s. It maybe has its users, but the majority learned to work the way I described above. Mark mode reminds me of the WordStar editor from '80s where CTRL+K, B marked the beginning of a block, and CTRL+K, K marked the end, and then it was persisting until you did some operation on it. It was interesting (seemed quite standard and useful at that time), but Microsoft got us used to a volatile selection and its way of working with it.

Please then bring the Microsoft way of working with selections to Microsoft Windows Terminal.

Thank you.

@Hermholtz commented on GitHub (Oct 6, 2024): I would like to be able to edit text in Windows Terminal the same way it happens e.g. in Notepad, Microsoft Word or all other applications, i.e.: - Selection with SHIFT+arrows, SHIFT+CTRL+arrows, SHIFT+Home, End. - Cut, Copy, Paste using familiar keys. - The entire selected text is overwritten when I press a "normal" key, e.g. a letter, a symbol or a digit, or when I paste something. - The selection is cleared when I press navigation key (arrow, CTRL+arrow, Home, End, PgUp, PgDn). The Mark Mode is interesting, but not really what Microsoft made us familiar with since '90s. It maybe has its users, but the majority learned to work the way I described above. Mark mode reminds me of the WordStar editor from '80s where CTRL+K, B marked the beginning of a block, and CTRL+K, K marked the end, and then it was persisting until you did some operation on it. It was interesting (seemed quite standard and useful at that time), but Microsoft got us used to a volatile selection and its way of working with it. Please then bring the Microsoft way of working with selections to Microsoft Windows Terminal. Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6968