Invisible text after opening Windows Terminal by double-clicking .bat file #22602

Open
opened 2026-01-31 08:18:12 +00:00 by claunia · 0 comments
Owner

Originally created by @n0samu on GitHub (Nov 28, 2024).

Windows Terminal version

1.21.3231.0

Windows build number

10.0.19045.5131

Other Software

No response

Steps to reproduce

  1. Make sure the Launch Size setting is set to 120 columns and Windows Terminal is set as the default terminal application. Make sure that Windows Terminal opens when you double-click a .bat file.
  2. Create a .bat file with the following code:
@ECHO OFF
CLS & ECHO.
ECHO ------------------------------------------------------------------------------------------------------------------------ 
ECHO.
SET /P INPUT="Enter a filename or URL: "
  1. Close any open terminal windows, then double-click the .bat file to run it.

Expected Behavior

Here's what I see in my terminal window if I run the .bat file from an existing terminal session and type "my input" at the prompt:
Image

Actual Behavior

When I double-click the .bat file to run it in a new terminal window, the prompt text is invisible and the input text appears slightly above where it should:
Image

I have also observed the input text being shifted upward while the prompt text is visible:
Image

Originally created by @n0samu on GitHub (Nov 28, 2024). ### Windows Terminal version 1.21.3231.0 ### Windows build number 10.0.19045.5131 ### Other Software _No response_ ### Steps to reproduce 1. Make sure the Launch Size setting is set to 120 columns and Windows Terminal is set as the default terminal application. Make sure that Windows Terminal opens when you double-click a .bat file. 2. Create a .bat file with the following code: ```bat @ECHO OFF CLS & ECHO. ECHO ------------------------------------------------------------------------------------------------------------------------ ECHO. SET /P INPUT="Enter a filename or URL: " ``` 3. Close any open terminal windows, then double-click the .bat file to run it. ### Expected Behavior Here's what I see in my terminal window if I run the .bat file from an existing terminal session and type "my input" at the prompt: ![Image](https://github.com/user-attachments/assets/d4cdccdb-2858-485e-a97b-53b9a7b60460) ### Actual Behavior When I double-click the .bat file to run it in a new terminal window, the prompt text is invisible and the input text appears slightly above where it should: ![Image](https://github.com/user-attachments/assets/478d56b3-2c03-4468-b8cc-670b9e431370) I have also observed the input text being shifted upward while the prompt text is visible: ![Image](https://github.com/user-attachments/assets/dc50a953-dd7b-4487-a9d0-f1c9652976b5)
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:18:12 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22602