diff --git a/e2e/e2e_test.go b/e2e/e2e_test.go index 7297963..b507413 100644 --- a/e2e/e2e_test.go +++ b/e2e/e2e_test.go @@ -90,7 +90,10 @@ func startTUIEnv(t *testing.T, env ...string) *tui { t.Skip("e2e pty tidak didukung di Windows") } cmd := exec.Command(binPath) - if e := envWith(env); len(e) > 0 { + // Kunci kapabilitas terminal: tanpa ini, runner CI ber-TERM "dumb" + // membuat lipgloss menonaktifkan warna & latar → asersi highlight flaky. + base := []string{"TERM=xterm-256color", "COLORTERM=truecolor"} + if e := envWith(append(base, env...)); len(e) > 0 { cmd.Env = e } ptmx, err := pty.StartWithSize(cmd, &pty.Winsize{Rows: rows, Cols: cols})