Skip to content

Commit

Permalink
fix detecting kitty
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Apr 19, 2022
1 parent 095f4fb commit 474dc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc52.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 474dc88

Please sign in to comment.