Skip to content

screen: Fix wrong attribute for new cells when resizing#37

Merged
kdj0c merged 1 commit intokmscon:mainfrom
kdj0c:fix_resize_black
Apr 20, 2026
Merged

screen: Fix wrong attribute for new cells when resizing#37
kdj0c merged 1 commit intokmscon:mainfrom
kdj0c:fix_resize_black

Conversation

@kdj0c
Copy link
Copy Markdown
Contributor

@kdj0c kdj0c commented Apr 17, 2026

When increasing the size of the terminal, the new cells are black, regardless of the current color attribute.
The resize code used def_main_attr, that can be unitialized.

When increasing the size of the terminal, the new cells are black,
regardless of the current color attribute.
The resize code used def_main_attr, that can be unitialized.
Make sure def_main_attr is set to the correct value.

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
@kdj0c kdj0c force-pushed the fix_resize_black branch from b62975a to 9c90138 Compare April 17, 2026 21:05
@kdj0c kdj0c merged commit c267da8 into kmscon:main Apr 20, 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.

1 participant