Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error message for empty language file, implement drop for State to disable raw mode and other modes #101

Closed
wants to merge 5 commits into from

Conversation

ProgKea
Copy link

@ProgKea ProgKea commented Nov 26, 2023

This PR adds an error message for zero-length files and implements the Drop trait for State to ensure that the raw mode is disabled the cursor position is restored and the cursor is shown.

Closes #78

@ProgKea ProgKea closed this Feb 29, 2024
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.

Add nice error message for zero-length files.
1 participant