From 2b19c54772ca875dc6b34128ee0a6de7036d54ba Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Thu, 9 Mar 2023 14:59:20 -0500 Subject: [PATCH] fix(output): tmux supports OSC 11 & 12 --- termenv_unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/termenv_unix.go b/termenv_unix.go index e965cea..43bcf60 100644 --- a/termenv_unix.go +++ b/termenv_unix.go @@ -220,10 +220,10 @@ func (o *Output) readNextResponse(tty io.ReadWriter) (response string, isOSC boo } func (o Output) termStatusReport(sequence int) (string, error) { - // screen/tmux can't support OSC, because they can be connected to multiple + // screen can't support OSC, because they can be connected to multiple // terminals concurrently. term := o.environ.Getenv("TERM") - if strings.HasPrefix(term, "screen") || strings.HasPrefix(term, "tmux") { + if strings.HasPrefix(term, "screen") { return "", ErrStatusReport }