Skip to content

Ellipsis: Set msg nick indent + ellipsis based on user nick

Luke Jones requested to merge flukejones/polari:master into master

The length of the users nick now controls the ellipsis and total indent of nick-to-message in the message display buffer.

  • user nick update redraws current buffer to adjust to new length+indent
    • this only happens if the user changes their nick
  • user entry box indent set by msg display indent
  • indent flows in/out depending on which longest nick is in view
  • msg nick char count must be above MIN_NICK_CHARS and above the users nick char count before ellipsis kicks in

Addresses long-standing bugs:

Edited by Luke Jones

Merge request reports

Loading