macOS Touch Bar support
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
- I have searched the issues of this repo and believe that this is not a duplicate
So, iTerm recently landed support for the macOS Touch Bar (in that programs hosted in the terminal can create display-buttons for the touch bar that display custom content, and send a function-key such as F1..F12 to the terminal when tapped.)
The implementation uses iTerm2's 1337 escape-code with the SetKeyLabel, PushKeyLabels, and PopKeyLabels keys.
For instance, printing ESC+]1337;SetKeyLabel=F1=Save & Quit+BEL will cause iTerm2 to display a Touch Bar button with the text “Save & Quit”, that when tapped, sends to the application.
One example usage of this functionality is demonstrated here, where some of the cruft traditionally included in the command-line prompt is moved into the Touch Bar:

I'd love to see this support validated and duplicated by Hyper, given how cutting-edge Hyper tends to be in other ways.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating Hyper's macOS terminal integration and the handling of iTerm2's 1337 escape codes; compare the SetKeyLabel, PushKeyLabels, and PopKeyLabels behavior described here. Done means Hyper can expose the requested Touch Bar buttons and send function-key events to terminal applications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100