-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminal crashes when setting --tabColor in command line arguments #10053
Comments
Wait, does the terminal that you're typing in crash, or does the terminal that launches crash? What shell are you using? |
does the terminal that you're typing in crash, or does the terminal that launches crash?
What shell are you using?
|
Oh wow okay yep, that clears it up. Didn't realize it was the command palette! That crashes instantaneously. That we can work with, thanks! |
While a user is formulating their hex string for a `tabColor` arg in the CommandPalette, we try to parse the string one char at a time as it comes in. `ColorFromHexString` doesn't like anything except a well formed hex string so it'll throw. We can probably eat any error that comes out of this because we should only care to set the TabColor once the string provided is a valid hex str. Closes #10053
While a user is formulating their hex string for a `tabColor` arg in the CommandPalette, we try to parse the string one char at a time as it comes in. `ColorFromHexString` doesn't like anything except a well formed hex string so it'll throw. We can probably eat any error that comes out of this because we should only care to set the TabColor once the string provided is a valid hex str. Closes #10053 (cherry picked from commit f7458a3)
🎉This issue was addressed in #10096, which has now been successfully released as Handy links: |
🎉This issue was addressed in #10096, which has now been successfully released as Handy links: |
Windows Terminal version (or Windows build number)
10.0.19042.0, 1.7.1033.0
Other Software
Not other software, but I notice your default Windows Terminal version listed above is higher than my terminal version. I obtained mine from the Windows Store yesterday, so maybe this is fixed in a later version and you have yet to release that to the store?
Steps to reproduce
Expected Behavior
For me to be able to type out my color value and not crash.
Actual Behavior
Window crashes.
The text was updated successfully, but these errors were encountered: