mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-21 01:42:15 +00:00
dd26b11a01
A shorter node identity leaves the prefix of the previous text on screen. Pad the field on each redraw to erase that prefix. Limit the field to the context buffer before padding. This keeps leading spaces from truncating the identity on wide terminals.