Skip to content

Commit

Permalink
Merge pull request #181 from zmc/wezterm
Browse files Browse the repository at this point in the history
Use the "select" mouse mode on WezTerm
  • Loading branch information
walles authored Jan 4, 2024
2 parents ba9de4b + 06c1312 commit 192838a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions twin/screen.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ func terminalHasArrowKeysEmulation() bool {
return true
}

// Wezterm, tested on MacOS 12.6, January 3rd, 2024
if os.Getenv("TERM_PROGRAM") == "WezTerm" {
return true
}

return false
}

Expand Down

0 comments on commit 192838a

Please sign in to comment.