terminal/src/cascadia/WindowsTerminal
David Teresi 7ede3785ee Fix crash when window width and height are too high (#1134)
## Summary of the Pull Request

Currently, the program crashes with a window width or height greater than 32767 (accounting for window decorations). This can be caused when the `initialRows` and `initialColumns` settings are set too high (also depends on the font width and height). This fixes the issue by not allowing the window to expand beyond 32767x32767.

## References
#843 - relocated the ClampToShortMax helper for reuse elsewhere
2019-06-04 16:31:36 -07:00
..
AppHost.cpp Fix crash when window width and height are too high (#1134) 2019-06-04 16:31:36 -07:00
AppHost.h Changes to be able to quit the application via exit inside a CLI prompt. (#746) 2019-05-15 07:22:16 -05:00
BaseWindow.h Apply [[nodiscard]] to functions returning error codes (#953) 2019-05-30 16:20:42 +00:00
IslandWindow.cpp Apply [[nodiscard]] to functions returning error codes (#953) 2019-05-30 16:20:42 +00:00
IslandWindow.h Apply [[nodiscard]] to functions returning error codes (#953) 2019-05-30 16:20:42 +00:00
main.cpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
NonClientIslandWindow.cpp Apply [[nodiscard]] to functions returning error codes (#953) 2019-05-30 16:20:42 +00:00
NonClientIslandWindow.h Apply [[nodiscard]] to functions returning error codes (#953) 2019-05-30 16:20:42 +00:00
packages.config Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
pch.cpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
pch.h Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
resource.h Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
WindowsTerminal.def Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
WindowsTerminal.manifest Update manifest to correct 1903 version, unref param fix (#1008) 2019-05-24 14:26:40 -07:00
WindowsTerminal.rc Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
WindowsTerminal.vcxproj Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00