Problem: When messages are appended to an already expanded cmdline, the spilled lines indicator is not updated. Solution: Remove early return for updating virtual text while cmdline is expanded, guard updating "msg" virt_text at callsite instead.
buffer
buf