Fix theoretical crash on read event on overlay tab
I am not sure how this could happen in practice but a user has had
this panic.
Thanks to one-star-chef for finding the issue.
Defer unimportant caps until CAP LS response
This keeps our conn-reg 0-RTT but introduces a theoretical race
condition on these CAPs (e.g. if we receive a SETNAME right after
conn-reg).
This helps us go below 20 messages for our conn-reg batch, which
is the default limit on solanum and the one used by Libera.
Fixes: https://todo.sr.ht/~delthas/senpai/200
doc: Mention system package repositories
Fix chat history fetch loop for targets containing uppercase chars
We would previously flood the server with CHATHISTORY BEFORE on
channels with mixed case.
Fix duplicate direct messages in rare cases
Fix retrying connection after App exits
Thanks to Antonio Mika <me@antoniomika.me> for helping me find
this issue.
This leaves a possible theoretical race condition, but should not
really happen in practice and can only be properly fixed by
refactoring existing code to use contexts.
doc: Clarify password-cmd
Clean up goroutines after App closes
Co-authored-by: Antonio Mika <me@antoniomika.me>
Allow passing in console to vaxis
Add workaround support for RGB colors on Windows Terminal
Use alternative gray color on color schemes with bg == gray
With these heuristics, "gray" text should always be readable
regardless of the theme, even for 8-color themes.
Fixes: https://todo.sr.ht/~delthas/senpai/160
Always show the message time after a message date
This can help know at which specific time a long discussion
happened.
Thanks to ~sethkush for the feature request.
Fixes: https://todo.sr.ht/~delthas/senpai/179