OpenConsole.exe off by one error in copy/paste #23564

Closed
opened 2026-01-31 08:45:58 +00:00 by claunia · 6 comments
Owner

Originally created by @0wwafa on GitHub (Aug 28, 2025).

I tested both WindowsTerminal.exe both OpenConsole.exe

There is a bug in OpenConsole which is not present in WindowsTerminal.

When you copy some text from a previous line, the text is copied and pasted right in WindowsTerminal but using OpenConsole, the last character is not copied/pasted.

Image

Image

The bug is not present in version 1.22.12111.0 but it is indeed present in most 1.23 versions up until the latest one which, as of now is: 1.23.12371.0

Originally created by @0wwafa on GitHub (Aug 28, 2025). I tested both **WindowsTerminal.exe** both OpenConsole.exe There is a **bug** in **OpenConsole** which is not present in **WindowsTerminal.** When you copy some text from a previous line, the text is copied and pasted right in WindowsTerminal but using OpenConsole, the last character is not copied/pasted. <img width="277" height="115" alt="Image" src="https://github.com/user-attachments/assets/e74d09a4-8a97-4992-963d-5b0c3f26c3ea" /></br></br> <img width="288" height="126" alt="Image" src="https://github.com/user-attachments/assets/327eb7c7-c1b9-420a-b54c-8a8e52dfbd76" /> The bug is **not present** in version **1.22.12111.0** but it is indeed present in most 1.23 versions up until the latest one which, as of now is: **1.23.12371.0**
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 08:45:58 +00:00
Author
Owner

@0wwafa commented on GitHub (Aug 28, 2025):

To test it, just run:

Microsoft.WindowsTerminal_1.23.12371.0_x64\terminal-1.23.12371.0\OpenConsole.exe C:\Windows\System32\bash.exe ~

This instead works:

Microsoft.WindowsTerminalPreview_1.22.2912.0_x64\terminal-1.22.2912.0\OpenConsole.exe C:\Windows\System32\bash.exe ~
@0wwafa commented on GitHub (Aug 28, 2025): To test it, just run: ``` Microsoft.WindowsTerminal_1.23.12371.0_x64\terminal-1.23.12371.0\OpenConsole.exe C:\Windows\System32\bash.exe ~ ``` This instead works: ``` Microsoft.WindowsTerminalPreview_1.22.2912.0_x64\terminal-1.22.2912.0\OpenConsole.exe C:\Windows\System32\bash.exe ~ ```
Author
Owner

@0wwafa commented on GitHub (Aug 28, 2025):

It seems finally solved in version 1.24.2372.0

@0wwafa commented on GitHub (Aug 28, 2025): It seems **finally** solved in version **1.24.2372.0**
Author
Owner

@0wwafa commented on GitHub (Dec 18, 2025):

@DHowett this bug has reappeared in the latest version:
https://github.com/microsoft/terminal/releases/download/v1.23.13503.0/Microsoft.Windows.Console.ConPTY.1.23.251216003.nupkg

@0wwafa commented on GitHub (Dec 18, 2025): @DHowett this bug has reappeared in the latest version: https://github.com/microsoft/terminal/releases/download/v1.23.13503.0/Microsoft.Windows.Console.ConPTY.1.23.251216003.nupkg
Author
Owner

@DHowett commented on GitHub (Dec 18, 2025):

Indeed. As windowed conhost is only really a byproduct of this repository and our release cycle, I don't tend to backport changes from Preview (1.24 as of today, where you mentioned it is fixed) to Stable (1.23).

@DHowett commented on GitHub (Dec 18, 2025): Indeed. As windowed conhost is only really a byproduct of this repository and our release cycle, I don't tend to backport changes from Preview (1.24 as of today, where you mentioned it is fixed) to Stable (1.23).
Author
Owner
@0wwafa commented on GitHub (Dec 18, 2025): The bug **is not** present in this version: https://github.com/microsoft/terminal/releases/download/v1.24.3504.0/Microsoft.Windows.Console.ConPTY.1.24.251216004-preview.nupkg
Author
Owner

@DHowett commented on GitHub (Dec 18, 2025):

(Thanks for confirming!)

@DHowett commented on GitHub (Dec 18, 2025): (Thanks for confirming!)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23564