Feature: Pinned messages
oyiptong opened this issue · comments
Similar to MOTD, #344, this feature is for clients connected a long time seeing an update.
Should only be set by operators/mods
You want a message to be repeated over and over, with some interval? I think that might be a better fit for a bot?
no, the message would take up the first N lines of the scroll space, permanently
Unfortunately that won't work with the way we're doing the terminal rendering, especially since we don't require a PTY (which means ssh-chat doesn't necessarily even know your terminal height).
Got it. that's too bad. Would be a nice community tool
Is lack of a pinned message on the first N lines a deal breaker for it being a nice community tool?
It isn't a deal breaker. however, it is common to have some ground rules in communities.
When those get updated, it would be nice to have some surface that displayed it prominently.
MOTD works somewhat, but for people who have persistent connections, the messages aren't seen.
A bot can help with that, if you don't trust regulars to remember the rules that haven't changed. If the rules changed, motd will be displayed when it changes. :)