mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 13:30:29 +00:00
keybind: add copy_title action
Fixes #7829 This will copy the terminal title to the clipboard. If the terminal title is not set it has no effect.
This commit is contained in:
@@ -132,6 +132,12 @@ fn actionCommands(action: Action.Key) []const Command {
|
||||
.description = "Copy the URL under the cursor to the clipboard.",
|
||||
}},
|
||||
|
||||
.copy_title => comptime &.{.{
|
||||
.action = .copy_title,
|
||||
.title = "Copy Terminal Title to Clipboard",
|
||||
.description = "Copy the terminal title to the clipboard. If the terminal title is not set this has no effect.",
|
||||
}},
|
||||
|
||||
.paste_from_clipboard => comptime &.{.{
|
||||
.action = .paste_from_clipboard,
|
||||
.title = "Paste from Clipboard",
|
||||
|
||||
Reference in New Issue
Block a user