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

TUI closes when a post's character limit is exceeded #469

Open
thegreyshadow opened this issue Feb 3, 2024 · 0 comments
Open

TUI closes when a post's character limit is exceeded #469

thegreyshadow opened this issue Feb 3, 2024 · 0 comments

Comments

@thegreyshadow
Copy link

Hi there, thanks for toot. Seems a really nice application.

Using 0.41.1 in Slackware-current, 64-bit. When composing a toot (a Mastodon post), exceeding the server's character limits closes the app and there's a message on the terminal (I assume it's stderr):

Error: Validation failed: Text character limit of 500 exceeded

(in this case 500 was the limit of that particular server).

All text is lost, the application quits/crashes, and one has to open the TUI again

I think the app should have refused to post but not quitting and losing text. That is, I think it should handle this error more gracefully.

Thanks in advance,

Eduardo

@thegreyshadow thegreyshadow changed the title Toot closes when a post's character limit is exceeded TUI closes when a post's character limit is exceeded Feb 3, 2024
danschwarz added a commit to danschwarz/toot that referenced this issue Mar 3, 2024
danschwarz added a commit to danschwarz/toot that referenced this issue Mar 3, 2024
danschwarz added a commit to danschwarz/toot that referenced this issue Mar 3, 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

No branches or pull requests

1 participant