Text input fields in Settings have autocorrect enabled (oops) #15078

Closed
opened 2026-01-31 04:27:49 +00:00 by claunia · 4 comments
Owner

Originally created by @joslinpr on GitHub (Sep 3, 2021).

Windows Terminal version (or Windows build number)

Windows 10 ECB 9.0 SAC 20H2 / Windows Feature Experience Pack 120.2212.551.0

Other Software

OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

Steps to reproduce

Create a New Profile / Edit an existing profile.

Under General, type into command line:

C:\Windows\System32\OpenSSH\ssh.exe -A -i C:\Users\username\.ssh\id_rsa user@hostname

What you get is:

C:\Windows\System32\OpenSSH\ssh.exe -A-I C:\Users\username\.ssh\id_rsa username@hostname

Note the capital I. This does not occur when you cut and paste, but will if you remove the "I" and type "i".

If you use the new profile, you get the unexpected error "no support for PKCS#11." from ssh.exe.

Expected Behavior

What you type is what you get.

Actual Behavior

Autocorrect changes -i to -I, leading to an error message.

Originally created by @joslinpr on GitHub (Sep 3, 2021). ### Windows Terminal version (or Windows build number) Windows 10 ECB 9.0 SAC 20H2 / Windows Feature Experience Pack 120.2212.551.0 ### Other Software OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5 ### Steps to reproduce ### Create a New Profile / Edit an existing profile. #### Under General, type into command line: ```C:\Windows\System32\OpenSSH\ssh.exe -A -i C:\Users\username\.ssh\id_rsa user@hostname``` #### What you get is: ``` C:\Windows\System32\OpenSSH\ssh.exe -A ```**-I**``` C:\Users\username\.ssh\id_rsa username@hostname``` Note the capital I. This does not occur when you cut and paste, but will if you remove the "I" and type "i". If you use the new profile, you get the unexpected error "no support for PKCS#11." from ```ssh.exe```. ### Expected Behavior What you type is what you get. ### Actual Behavior Autocorrect changes -i to -I, leading to an error message.
Author
Owner

@DHowett commented on GitHub (Sep 3, 2021):

Jeez-o, we should not have autocorrect enabled on our input fields!

@DHowett commented on GitHub (Sep 3, 2021): Jeez-o, we should not have autocorrect enabled on our input fields!
Author
Owner

@ianjoneill commented on GitHub (Sep 3, 2021):

This looks easy to fix - I assume you'd like to keep autocorrect enabled in text-boxes for names (e.g. profile name, tab title), but not for paths/command lines etc.

@ianjoneill commented on GitHub (Sep 3, 2021): This looks easy to fix - I assume you'd like to keep autocorrect enabled in text-boxes for names (e.g. profile name, tab title), but not for paths/command lines etc.
Author
Owner

@elsaco commented on GitHub (Sep 5, 2021):

Why is only "-i" being capitalized? The first option "-A" won't be autocorrected if typed "-a". None other ssh.exe options are being capitalized. This is not SSH client related.

Just by entering "-i" in the command line box it will be turned into "-I". I tried "--i" and "---i" and same behavior. However, if "I" is being corrected any other "i" entries won't be capitalized.

@elsaco commented on GitHub (Sep 5, 2021): Why is only "-i" being capitalized? The first option "-A" won't be autocorrected if typed "-a". None other ssh.exe options are being capitalized. This is not SSH client related. Just by entering "-i" in the command line box it will be turned into "-I". I tried "--i" and "---i" and same behavior. However, if "I" is being corrected any other "i" entries won't be capitalized.
Author
Owner

@ghost commented on GitHub (Oct 20, 2021):

:tada:This issue was addressed in #11137, which has now been successfully released as Windows Terminal Preview v1.12.2922.0.🎉

Handy links:

@ghost commented on GitHub (Oct 20, 2021): :tada:This issue was addressed in #11137, which has now been successfully released as `Windows Terminal Preview v1.12.2922.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.12.2922.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15078