Skip to content
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

Fix terminal size calculation with maximize window option #37175

Merged
merged 1 commit into from
Jan 19, 2020

Conversation

Qrox
Copy link
Contributor

@Qrox Qrox commented Jan 18, 2020

Summary

SUMMARY: Bugfixes "Fix terminal size calculation with maximize window option"

Purpose of change

Terminal size was not calculated properly when the game is set to start maximized, leading to distorted display. Recalculate terminal size if the game starts with "maximize window" option.

Testing

Terminal size is now properly calculated, and display distortion no longer happens.

@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. SDL: Tiles / Sound Tiles visual interface and sounds. labels Jan 18, 2020
@ZhilkinSerg ZhilkinSerg merged commit 764b9fa into CleverRaven:master Jan 19, 2020
@Qrox Qrox deleted the fix-maximize-resize branch January 19, 2020 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. SDL: Tiles / Sound Tiles visual interface and sounds.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants