From 3a98b10e476f741b576e9caf1e2d66a9fa305110 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Mon, 20 Nov 2023 20:56:00 -0800 Subject: [PATCH] Add comment --- client/testutils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/testutils.go b/client/testutils.go index 58db3b8..942499a 100644 --- a/client/testutils.go +++ b/client/testutils.go @@ -254,6 +254,7 @@ func captureTerminalOutputComplex(t testing.TB, captureConfig TmuxCaptureConfig) } fullCommand += " tmux capture-pane -t foo -p" 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 += "\n"