Add comment

This commit is contained in:
David Dworken 2023-11-20 20:56:00 -08:00
parent bf01cf534f
commit 3a98b10e47
No known key found for this signature in database

View File

@ -254,6 +254,7 @@ func captureTerminalOutputComplex(t testing.TB, captureConfig TmuxCaptureConfig)
} }
fullCommand += " tmux capture-pane -t foo -p" fullCommand += " tmux capture-pane -t foo -p"
if captureConfig.includeEscapeSequences { if captureConfig.includeEscapeSequences {
// -e ensures that tmux runs the command in an environment that supports escape sequences. Used for rendering colors in the TUI.
fullCommand += "e" fullCommand += "e"
} }
fullCommand += "\n" fullCommand += "\n"