diff --git a/osc52.go b/osc52.go index ff281c6..65c87c1 100755 --- a/osc52.go +++ b/osc52.go @@ -59,7 +59,7 @@ func (o *Output) Copy(str string) { mode = "tmux" case strings.HasPrefix(term, "screen"): mode = "screen" - case strings.HasPrefix(term, "kitty"): + case strings.Contains(term, "kitty"): mode = "kitty" }