mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 09:16:11 +03:00
macOS select output is cmd+tripleclick not control anymore
Fixes #1920 Ctrl interferes with context menus.
This commit is contained in:
@ -199,7 +199,7 @@ The currently supported shell integration features in Ghostty:
|
|||||||
- We do not confirm close for windows where the cursor is at a prompt.
|
- We do not confirm close for windows where the cursor is at a prompt.
|
||||||
- New terminals start in the working directory of the previously focused terminal.
|
- New terminals start in the working directory of the previously focused terminal.
|
||||||
- Complex prompts resize correctly by allowing the shell to redraw the prompt line.
|
- Complex prompts resize correctly by allowing the shell to redraw the prompt line.
|
||||||
- Triple-click while holding control to select the output of a command.
|
- Triple-click while holding control (Linux) or command (macOS) to select the output of a command.
|
||||||
- The cursor at the prompt is turned into a bar.
|
- The cursor at the prompt is turned into a bar.
|
||||||
- The `jump_to_prompt` keybinding can be used to scroll the terminal window
|
- The `jump_to_prompt` keybinding can be used to scroll the terminal window
|
||||||
forward and back through prompts.
|
forward and back through prompts.
|
||||||
|
@ -2378,7 +2378,7 @@ pub fn mouseButtonCallback(
|
|||||||
|
|
||||||
// Triple click, select the line under our mouse
|
// Triple click, select the line under our mouse
|
||||||
3 => {
|
3 => {
|
||||||
const sel_ = if (mods.ctrl)
|
const sel_ = if (mods.ctrlOrSuper())
|
||||||
self.io.terminal.screen.selectOutput(pin.*)
|
self.io.terminal.screen.selectOutput(pin.*)
|
||||||
else
|
else
|
||||||
self.io.terminal.screen.selectLine(.{ .pin = pin.* });
|
self.io.terminal.screen.selectLine(.{ .pin = pin.* });
|
||||||
|
Reference in New Issue
Block a user