Skip to content

refactor(painter): read skip_buffer_lines through its own range - #1217

Open
kronberger-droid wants to merge 1 commit into
nushell:mainfrom
kronberger-droid:refactor/painter-skip-buffer-lines
Open

kronberger-droid wants to merge 1 commit into
nushell:mainfrom
kronberger-droid:refactor/painter-skip-buffer-lines

Conversation

@kronberger-droid

Copy link
Copy Markdown
Collaborator

Summary

skip_buffer_lines and skip_buffer_lines_range were copy-paste twins, differing only in whether the result gets sliced and trimmed.
skip_buffer_lines now takes its bounds from skip_buffer_lines_range, so the line skipping exists once and the two cannot drift.

No behavior change, both are private to the painter.

@kronberger-droid
kronberger-droid marked this pull request as ready for review September 16, 2026 12:43
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