macOS terminal UX: verification handoff#5
Merged
Conversation
Code fix for Option+Arrow word-jump and the ZDOTDIR/oh-my-zsh bootstrap is merged to main, but couldn't be runtime-verified from this Windows dev machine. Handoff notes for whoever finishes the verification on real macOS hardware.
ohernandezdev
pushed a commit
that referenced
this pull request
Jul 20, 2026
…ead-key Verifying PR #5's macOS handoff checklist on real hardware surfaced that alt+n (DND toggle) is registered as an OS-level global shortcut, which swallows the keystroke before the webview ever sees it — silently breaking the Option+N tilde dead-key (ñ/ã/õ) on Spanish, Portuguese, US-International and ABNT2 layouts, system-wide, while AFKode is running. Moved the shortcut to alt+shift+n, which doesn't collide with any dead-key composition. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012VmarMk5cfXM5FXPWq3wYU
All 5 checks verified on real macOS 15.7.7 hardware. Found and fixed (main, 50a653c) a real regression the checklist was designed to catch: alt+n was registered as an OS-level global shortcut, colliding with the macOS tilde dead-key and silently breaking ñ/ã/õ composition system-wide. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012VmarMk5cfXM5FXPWq3wYU
Owner
Author
|
Verified all 5 checks on real macOS 15.7.7 hardware (see updated
Shipped as v0.8.18 (tag pushed, release workflow running). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The code fix for the macOS terminal Option-key / oh-my-zsh issues is already merged to
main(commits7d7a556,59fe401— v0.8.17). This PR only adds a handoff doc (docs/handoff-macos-terminal-verification.md) for whoever finishes verifying it on a real Mac — everything so far was authored from a Windows machine with no macOS hardware access.Handoff for the next Claude Code session (macOS)
Already done, merged to
main:src/main.ts: plain Option+Left / Option+Right now hand-emit\x1bb/\x1bfto the PTY (readline's default backward-word/forward-word bindings), scoped to just those two keys.macOptionIsMeta: true. That was tried and reverted — it turns every Option-modified key into an ESC-prefixed byte, breaking the Option-key dead-key accent composition (ñ, á, ü) thatsrc/xtermDeadKeyAddon.tsexists to support. Any further fix must stay scoped, not blanket-flip Option-as-Meta.alt+x/g/a/p/n,ctrl+alt+pinsrc-tauri/src/lib.rs) audited — no overlap with arrow/Option+Shift chords, nothing changed there.zsh_zdotdir_bootstrap_sources_user_zshrc) that runs the real ZDOTDIR bootstrap through an actual zsh binary — passes on themacos-latestGitHub Actions runner, proving the sourcing logic works. It's a synthetic.zshrcin an isolated process, not a real oh-my-zsh install inside the running app.Needs a real macOS run (
npm run tauri devor the CI-built app):hola mundo, press Option+Left twice — cursor should land between the two words.ñ, not send a raw Meta byte. This is the regression the scoped fix is meant to avoid — check it explicitly.Full detail in
docs/handoff-macos-terminal-verification.md.Test plan
isMac()+ exactev.codecheck) so it should be safe to adjust