From 0388f06404268fbb54dd48bdd561a0bb6cb8c542 Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Mon, 31 Aug 2026 09:43:21 +0100 Subject: [PATCH] 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) --- crates/maestro-daemon/src/tmux.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/maestro-daemon/src/tmux.rs b/crates/maestro-daemon/src/tmux.rs index 545c02f..f2bfc3b 100644 --- a/crates/maestro-daemon/src/tmux.rs +++ b/crates/maestro-daemon/src/tmux.rs @@ -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",