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

simplify, cleanup, and improve window size/resize handling #1628

Merged
merged 7 commits into from
Oct 7, 2024

Conversation

christianparpart
Copy link
Member

it took me a while to figure out that fraction scaling on KDE Plasma (probably due to Wayland) is problematic. However, this PR still cleans up a lot and reliably produces the expected columns x lines page size on initial window spawn.

Fractional scaling on at least Wayland (KDE?) should be fixed later on its own.

@github-actions github-actions bot added the frontend Contour Terminal Emulator (GUI frontend) label Oct 6, 2024
Copy link
Member

@Yaraslaut Yaraslaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small comments

@christianparpart christianparpart force-pushed the maintenance/cleanups branch 3 times, most recently from 7d1dfed to b7a2533 Compare October 6, 2024 20:18
@christianparpart christianparpart marked this pull request as draft October 6, 2024 20:18
@christianparpart christianparpart marked this pull request as ready for review October 6, 2024 22:34
@christianparpart christianparpart marked this pull request as draft October 6, 2024 22:58
@github-actions github-actions bot added the VT: Backend Virtual Terminal Backend (libterminal API) label Oct 6, 2024
Signed-off-by: Christian Parpart <christian@parpart.family>
…atusLine(str) has an active lifetime

The only caller here returns a temporary std::string via f(g()). Since
the target storage is also already an std::string, we might as well just
std::move it into it.

Signed-off-by: Christian Parpart <christian@parpart.family>
Signed-off-by: Christian Parpart <christian@parpart.family>
Signed-off-by: Christian Parpart <christian@parpart.family>
Signed-off-by: Christian Parpart <christian@parpart.family>
Signed-off-by: Christian Parpart <christian@parpart.family>
…ensive

Signed-off-by: Christian Parpart <christian@parpart.family>
@christianparpart christianparpart marked this pull request as ready for review October 7, 2024 14:27
Copy link
Member

@Yaraslaut Yaraslaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixes :)

@christianparpart christianparpart merged commit 6da571c into master Oct 7, 2024
31 checks passed
@christianparpart christianparpart deleted the maintenance/cleanups branch October 7, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Contour Terminal Emulator (GUI frontend) VT: Backend Virtual Terminal Backend (libterminal API)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants