Skip to content

Fix remove from sb#38

Merged
kdj0c merged 2 commits intokmscon:mainfrom
kdj0c:fix_remove_from_sb
Apr 20, 2026
Merged

Fix remove from sb#38
kdj0c merged 2 commits intokmscon:mainfrom
kdj0c:fix_remove_from_sb

Conversation

@kdj0c
Copy link
Copy Markdown
Contributor

@kdj0c kdj0c commented Apr 20, 2026

screen: copy the cell content in remove_from_sb()

Instead of copying the line pointer from the scrollback buffer,
copy the cell content. the line size can be different in the
scrollback buffer, because the scrollback is not resized when the
terminal is resized.

Jocelyn Falempe added 2 commits April 20, 2026 12:56
Instead of copying the line pointer from the scrollback buffer,
copy the cell content. the line size can be different in the
scrollback buffer, because the scrollback is not resized when the
terminal is resized.

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
This checks random screen resize and selection.

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
@kdj0c kdj0c force-pushed the fix_remove_from_sb branch from 21a0bad to 7e699c1 Compare April 20, 2026 12:11
@kdj0c kdj0c merged commit dd8ac24 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