RasmusLindroth / tut

TUI for Mastodon with vim inspired keys
https://tut.anv.nu
MIT License
446 stars 29 forks source link

Get max_toot_chars from instance #239

Closed omnivagant closed 1 year ago

omnivagant commented 1 year ago

Some implementations, like pleroma and glitch-soc, implement and show the client max_toot_chars. I'd suggest to try to use that if char-limit is not set, assuming there are other implementations and having char-limit configurable in tut would still be desirable.

Example of what the python client toot does: https://github.com/ihabunek/toot/blob/master/toot/tui/app.py#L320

RasmusLindroth commented 1 year ago

It's now fixed in the latest release :)