A room or user name with a tab, a newline, an escape or some emoji was
drawn wider than measured, so the terminal wrapped and scrolled, and
going on to Users kept Rooms' header and keys on screen. Names from
Synapse and log lines are made printable, cutting to fit counts screen
cells (CJK and emoji take two), the coloured title keeps an emoji whole,
and changing screens repaints the terminal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>