fix(maestro): keep pane background in the attach snapshot

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>
This commit is contained in:
Miguel Palhas
2026-08-31 09:43:21 +01:00
co-authored by Claude Opus 5
parent c98c11b5c3
commit 0388f06404
+4
View File
@@ -278,6 +278,10 @@ impl Tmux {
"capture-pane",
"-p",
"-e",
// Keep trailing spaces, so a line's background colour reaches
// the edge instead of stopping at the last glyph and letting
// the client's own background show through.
"-N",
"-t",
&name,
"-S",