Skip to content

resize: Fix a corner case when resizing#22

Merged
kdj0c merged 1 commit intokmscon:mainfrom
kdj0c:fix_resize2
Jan 29, 2026
Merged

resize: Fix a corner case when resizing#22
kdj0c merged 1 commit intokmscon:mainfrom
kdj0c:fix_resize2

Conversation

@kdj0c
Copy link
Contributor

@kdj0c kdj0c commented Jan 28, 2026

When resizing, if there is no scrollback buffer, there was a mistake in the computation of the number of lines to scroll up.

Fixes: kmscon/kmscon#194

When resizing, if there is no scrollback buffer, there was a mistake
in the computation of the number of lines to scroll up.

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
@kdj0c kdj0c merged commit 7f5c16f into kmscon:main Jan 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rotating screen from portrait to landscape makes so much lines to be scrolled up

1 participant