Skip to content

fix(term): handle terminal size query failure gracefully#339

Open
rvyhvn wants to merge 1 commit into3rd:masterfrom
rvyhvn:fix/term-size-assert
Open

fix(term): handle terminal size query failure gracefully#339
rvyhvn wants to merge 1 commit into3rd:masterfrom
rvyhvn:fix/term-size-assert

Conversation

@rvyhvn
Copy link

@rvyhvn rvyhvn commented Feb 1, 2026

Replaces the assertion on ioctl failure with a silent return. This prevents crashes in environments where the terminal size cannot be queried, such as stated here #210 (comment).

Making it fail silently so the plugin doesn't break the entire editor setup.

Replaces the assertion on ioctl failure with a silent return. This
prevents crashes in environments where the terminal size cannot be
queried, such as stated here 3rd#210 (comment)).

Making it fail silently so the plugin doesn't break the entire editor
setup.
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