forked from microsoft/terminal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wpf: Add AutoFill to control whether the connection/buffer resizes (m…
…icrosoft#7853) Adds the ability to manually handle the terminal renderer resizing events by allowing different render size and WPF control size. This is done by adding an `AutoFill` property to the control that prevents the renderer from automatically resizing and tells the WPF control to fill in the extra space with the terminal background as shown below: This PR adds the following: - Helper method in the DX engine to convert character viewports into pixel viewports - `AutoFill` property that prevents automatic resizing of the renderer - Tweaks and fixes that automatically fill in the empty space if `AutoFill` is set to false - Fixes resizing methods and streamlines their codepath ## Validation Steps Performed Manual validation with the Visual Studio Integrated Terminal tool window.
- Loading branch information
1 parent
a17306a
commit 0ef2fb0
Showing
8 changed files
with
242 additions
and
58 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.