capture-pane trims trailing spaces, so a line's background stopped at its last glyph and the client's own background showed through the rest as stripes. -N keeps the padding, and with it the colour. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>