Conversation
Well this one feels dumb. Make sure to also initially set the visibility of ConPTY windows created for DefTerm connections. * [x] Closes #13066 for real. * [x] tested manually.
DHowett
approved these changes
May 19, 2022
lhecker
reviewed
May 19, 2022
Comment on lines
+344
to
+347
| if (_initialVisibility) | ||
| { | ||
| THROW_IF_FAILED(ConptyShowHidePseudoConsole(_hPC.get(), _initialVisibility)); | ||
| } |
Member
There was a problem hiding this comment.
I'm a sucker for perf, but I think it'd be more robust to always call that function.
IMO this code is currently similar to:
if (dimensions != COORD{ 120, 30 })
{
THROW_IF_FAILED(ConptyResizePseudoConsole(_hPC.get(), dimensions));
}But maybe it makes sense to do it this way of course... 🤔
lhecker
approved these changes
May 19, 2022
Member
|
@msftbot merge this in 1 minutes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Well this one feels dumb.
Make sure to also initially set the visibility of ConPTY windows created for DefTerm connections.
ShowWindow(SW_MINIMIZE)doesn't work anymore #13066 for real.