-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Discussed in #7825
Originally posted by sj26 July 5, 2025
I'm not sure if this is a good idea or not, but I found myself today wanting to copy the title of a tab (into the macOS pasteboard):
Would a "copy title" option here be useful? I'd probably have a go at implementing if so.
Proposal
Let's introduce a copy_title keybind action that copies the current terminal title. This doesn't even need apprt integration (beyond invoking copy clipboard actions that already exist) because the title is known to the core.
The documentation can be that this will specifically copy the current terminal title as set by terminal programs (i.e. not manually). If a terminal title is NOT set, then this should do NOTHING (do not clear the clipboard).
We should make sure this is exposed via the command palette because this is unlikely to be something someone actually binds.