toot icon indicating copy to clipboard operation
toot copied to clipboard

TUI closes when a post's character limit is exceeded

Open thegreyshadow opened this issue 1 year ago • 0 comments

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 avatar Feb 03 '24 20:02 thegreyshadow