Skip to content

Commit

Permalink
Document Contour mouse marking
Browse files Browse the repository at this point in the history
  • Loading branch information
walles committed Dec 18, 2023
1 parent ccc5350 commit a3f1c61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions MOUSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ other terminals will send nothing, making scrolling not work.
## Text Marking Workarounds in `scroll` Mode

- **Alacritty**: Use use <kbd>shift</kbd> + mouse selection to make it work. Cred to @chrisgrieser for this tip.
- **Contour**: Use <kbd>shift</kbd> + mouse selection to mark text. Cred to @postsolar for this tip.
- **Foot**: Use use <kbd>shift</kbd> + mouse selection to make it work. Cred to @postsolar for this tip.
- **Hyper** on macOS: Set `macOptionSelectionMode: 'force'` in your config file, then hold the Option Key <kbd>⌥</kbd> while marking
- **iTerm**: Preferences / Profiles / Default / Terminal / uncheck "Report mouse clicks & drags"
Expand Down
1 change: 1 addition & 0 deletions twin/screen.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ func terminalHasArrowKeysEmulation() bool {
// Better off with mouse tracking:
// * iTerm2 (macOS)
// * Terminal.app (macOS)
// * Contour, thanks to @postsolar (GitHub username) for testing, 2023-12-18

// Hyper, tested on macOS, December 14th 2023
if os.Getenv("TERM_PROGRAM") == "Hyper" {
Expand Down

0 comments on commit a3f1c61

Please sign in to comment.