Lines are pasted in reverse order #11262

Closed
opened 2026-01-31 02:42:48 +00:00 by claunia · 2 comments
Owner

Originally created by @JVimes on GitHub (Nov 3, 2020).

Environment

Windows build number: Microsoft Windows NT 10.0.19041.0
Windows Terminal version (if applicable): 1.3.2651.0

Steps to reproduce

  1. In a PowerShell tab, type this multi-line command using Ctrl+Enter for the newlines:
1
2
3
  1. Press Enter to run it
  2. Press Up Arrow to load the command again
  3. Press Ctrl+A to select it
  4. Press Ctrl+X to cut it
  5. Press Ctrl+V to paste it
  6. Select "Paste anyway" on the multi-line paste warning

Expected behavior

I expect it to paste this:

1
2
3

Actual behavior

It actually pasted this:

3
2
1

Screen cap of the issue

2020-11-02_17h10_34

Originally created by @JVimes on GitHub (Nov 3, 2020). # Environment ```none Windows build number: Microsoft Windows NT 10.0.19041.0 Windows Terminal version (if applicable): 1.3.2651.0 ``` # Steps to reproduce 1. In a PowerShell tab, type this multi-line command using <kbd>Ctrl+Enter</kbd> for the newlines: ``` 1 2 3 ``` 2. Press <kbd>Enter</kbd> to run it 3. Press <kbd>Up Arrow</kbd> to load the command again 4. Press <kbd>Ctrl+A</kbd> to select it 5. Press <kbd>Ctrl+X</kbd> to cut it 6. Press <kbd>Ctrl+V</kbd> to paste it 7. Select "Paste anyway" on the multi-line paste warning # Expected behavior I expect it to paste this: ``` 1 2 3 ``` # Actual behavior It actually pasted this: ``` 3 2 1 ``` # Screen cap of the issue ![2020-11-02_17h10_34](https://user-images.githubusercontent.com/6148201/97932907-6aa79200-1d2e-11eb-9b80-2594d8878ff5.gif)
claunia added the Resolution-Duplicate label 2026-01-31 02:42:48 +00:00
Author
Owner

@DHowett commented on GitHub (Nov 3, 2020):

/dup #5821 for now you can use PowerShell’s paste binding (remove ctrl+v from your settings file, which will let Powershell handle it)

@DHowett commented on GitHub (Nov 3, 2020): /dup #5821 for now you can use PowerShell’s paste binding (remove ctrl+v from your settings file, which will let Powershell handle it)
Author
Owner

@ghost commented on GitHub (Nov 3, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Nov 3, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11262