Skip to content

Commit

Permalink
restore default return false
Browse files Browse the repository at this point in the history
  • Loading branch information
Mause authored Jan 22, 2025
1 parent eb1b35f commit a0c9fa2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions termlink.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ func supportsHyperlinks() bool {
// It is unclear when during the private beta that ghostty started supporting hyperlinks,
// so we'll start from the public release.
return v.major >= 1

default:
// intentional fallthrough, some "terminals" (such as tmux) override TERM_PROGRAM so we need to check using other methods

return false
// Hyper Terminal used to be included in this list, and it even supports hyperlinks
// but the hyperlinks are pseudo-hyperlinks and are actually not clickable
case "tmux":
// intentional fallthrough, tmux overrides TERM_PROGRAM so we need to check using other methods
}
}

Expand Down

0 comments on commit a0c9fa2

Please sign in to comment.