terminal/src/cascadia/WpfTerminalControl
Javier 9aea904229
Added negative value check for resize newsize (#8792)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? -->
## Summary of the Pull Request
Adds a negative value check for when the terminal window is hidden/show in VS

<!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> 
## References
[Bug 1265984](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1265984): [Terminal] VS crashes when clicking the hidden terminal tab

<!-- Please review the items on the PR checklist before submitting-->
## PR Checklist
* [ ] Closes #xxx
* [ ] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA
* [ ] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [ ] Schema updated.
* [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

<!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here -->
## Detailed Description of the Pull Request / Additional comments

<!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well -->
## Validation Steps Performed
Manual validation.
2021-01-15 17:48:14 +00:00
..
ITerminalConnection.cs add wpf control (#2004) 2019-10-11 14:02:09 -07:00
NativeMethods.cs wpf: Add AutoFill to control whether the connection/buffer resizes (#7853) 2020-10-09 22:25:18 +00:00
stylecop.json add wpf control (#2004) 2019-10-11 14:02:09 -07:00
TerminalContainer.cs wpf: add width/height checks when resizing the terminal (#7983) 2020-10-27 01:57:13 +00:00
TerminalControl.xaml wpf: Add AutoFill to control whether the connection/buffer resizes (#7853) 2020-10-09 22:25:18 +00:00
TerminalControl.xaml.cs Added negative value check for resize newsize (#8792) 2021-01-15 17:48:14 +00:00
TerminalOutputEventArgs.cs add wpf control (#2004) 2019-10-11 14:02:09 -07:00
TerminalTheme.cs Expose selection background and alpha through the WPF control (#7339) 2020-08-18 16:11:41 -07:00
WpfTerminalControl.csproj wpf: target netcoreapp3.1, clean up test project path (#8491) 2020-12-04 18:17:25 +00:00