Root CauseWhat broke, why, and the fix.

A background app intercepted Ctrl+A before it reached zsh on macOS

· macOS, terminal, debugging
ⓘ Operated by TechAthletes. Every post here is a bug we hit in our own work — symptom, root cause, fix. Nothing is sponsored and we are not paid to mention any tool.

Ctrl+A failed, while Option produced conflicting clues

In an October 2026 troubleshooting session, Ctrl+A stopped behaving as expected in macOS Terminal running zsh. Pressing it should have moved the cursor to the beginning of the input line. Instead, nothing happened. Adding Option to the key combination made it work, but that observation alone did not explain where the original keystroke was going.

Other shortcuts produced more visible failures. Option+D inserted ∂ instead of deleting a word. Inside Claude Code, Option+A, Option+B, and Option+F entered these characters:

å∫ƒ

Restarting Claude Code did not fix that behavior.

The symptoms all involved keyboard shortcuts, but they did not share a single cause. Ctrl+A was being intercepted before reaching the shell. Option+letter combinations were being converted into symbols by Terminal because its Option-as-Meta setting was off.

That distinction became the center of the investigation. Before changing the meaning of a shortcut in zsh, we needed to establish whether zsh was receiving it at all. A missing cursor movement could indicate a different shell binding, but it could also mean the key never reached the place where that binding would apply.

The shell’s keymap could not explain a missing input

There was a reason to consider zsh’s editing mode. A previous Root Cause article, “Ctrl-R did nothing in my terminal app. The cause was EDITOR=vi.”, described the opposite side of this boundary: input reached the shell, but zsh had started with a vi keymap, so the expected binding was different.

The zsh manual's Zsh Line Editor chapter describes that startup behavior. If VISUAL or EDITOR contains the string vi, the initial main keymap is viins; otherwise, it is emacs. That makes the active keymap relevant when a key arrives but produces an unexpected editing action.

During this investigation, another observation supported the conclusion that zsh itself was using its standard Emacs keymap. Pressing Option+A executed the entered line and left that line in the input area. This matched accept-and-hold, the standard Emacs-keymap action assigned to ESC-a.

The behavior looked unusual if the expectation was simply “move the cursor.” As a diagnostic clue, however, it was useful: the action corresponded to an existing zsh binding.

The current bindings can be inspected with:

bindkey

In that output, ^A represents Ctrl+A, while ^[b represents ESC followed by b, or Meta+B. Inspecting those mappings can explain what zsh does with received input. It cannot, by itself, explain a keystroke that disappears before arrival.

cat -v placed the Ctrl+A failure before the shell

The decisive check was to run:

cat -v

Then we pressed Ctrl+A.

For this test, the expected visible representation was:

^A

If that appeared, the control input had reached the program running in the terminal, and the investigation could turn to the shell’s binding. In this case, nothing appeared. The failure therefore lay before the shell’s editing action: changing the Ctrl+A binding in zsh would not address the missing input.

Candidates at that boundary include Japanese input in kana mode, tmux or screen prefixes, keyboard remapping and shortcut utilities, window arrangement applications, system keyboard shortcuts, and swapped modifier keys such as Control and Caps Lock. These are places to check, not causes we confirmed.

The cause in this environment was a background translation application whose shortcut settings intercepted Control-key combinations. After its shortcut configuration was changed, Ctrl+A worked in the shell again.

The conclusion is specific to that configured shortcut conflict. It does not mean translation applications generally cause this problem, or that any particular default shortcut was responsible. What mattered was how that application’s shortcuts were configured on this machine.

Option inserted symbols because Terminal was not sending Meta

The Option-key symptoms required a separate explanation. Terminal’s “Use Option as Meta key” setting was off. In that state, Option+letter combinations produced symbols: Option+A entered å, Option+B entered ∫, Option+F entered ƒ, and Option+D entered ∂.

Those characters were not the Meta sequences expected by zsh’s corresponding editing bindings. For example, zsh’s Emacs keymap binds backward-word to ESC-b and kill-word to ESC-d. Receiving a symbol does not supply those sequences.

The distinction also explains why Option behavior needed to be examined independently from Ctrl+A interception. For Ctrl+A, the diagnostic observation was an absence of input. For the Option combinations, input visibly arrived, but it was the wrong kind of input for the intended shortcut.

Apple’s Terminal User Guide puts the setting under Terminal > Settings > Profiles > Keyboard. Its scope matters as much as its location: the guide notes that settings in that pane apply only to the profile you select. Enabling it in one profile does not enable it throughout Terminal. A window opened with another profile can retain the previous behavior.

Apple’s list of Terminal keyboard shortcuts also marks Option-D as available when “Use Option as Meta key” is selected. Option+Right Arrow and Option+Left Arrow word movement can work without that setting, so those arrow combinations do not establish that Option+letters are being sent as Meta.

The correction is to enable “Use Option as Meta key” for each Terminal profile being used. We did not record a retest of each Option shortcut after the change, so we are not claiming one here.

Restarting Claude Code did not change Terminal’s input

The same Option setting explained the symbols appearing in Claude Code’s input area. Claude Code was running inside the terminal; Terminal was converting Option+letters into characters before the application could use them as the intended shortcuts. Restarting Claude Code left that terminal-side configuration unchanged. Because the setting is per profile, a window opened with a different profile can keep sending symbols even after another profile has been fixed.

Claude Code’s interactive mode documentation lists Option-as-Meta as required for its macOS Alt+B, Alt+F, Alt+D, and Alt+Y shortcuts, and describes Option+Enter for a newline as working only after Option as Meta is enabled. Backslash followed by Enter, or Ctrl+J, inserts a newline without that setup. Its terminal configuration page gives the setting for each terminal: “Use Option as Meta Key” in Apple Terminal, “Esc+” for the Option keys in iTerm2, and terminal.integrated.macOptionIsMeta in VS Code. It also notes that Claude Code’s /terminal-setup enables Option as Meta in the Apple Terminal profile.

There is another boundary to keep clear here: receiving the intended key sequence does not make Claude Code’s input bindings identical to zsh’s. Its documented bindings differ from zsh’s in places. Claude Code’s Ctrl+U deletes from the cursor to the beginning of the line, while zsh’s Emacs keymap binds Ctrl+U to kill-whole-line. Claude Code’s Ctrl+W deletes back to the preceding whitespace.

These differences belong to application behavior after input arrives. They should be investigated separately from Terminal producing å∫ƒ or a background application intercepting Ctrl+A.

Check arrival before changing the binding

For this failure, the useful first question was concrete: does pressing Ctrl+A while cat -v is running display ^A?

If nothing appears, inspect the layers before the shell, including background application shortcuts and system keyboard configuration. In this incident, changing a translation application’s shortcut settings made Ctrl+A work again.

If ^A appears but line editing still behaves unexpectedly, inspect bindkey and the active keymap. zsh’s startup rule for EDITOR and VISUAL gives a specific configuration check for that branch.

If Option+letters insert symbols, check “Use Option as Meta key” in the profile used by the affected Terminal window. When the behavior persists after a setting change, verify that the window uses the profile that was changed.

These checks separate three questions that otherwise look like one broken shortcut: whether the input arrives, what Terminal sends, and what the receiving shell or application assigns to it. Here, that separation identified a confirmed Ctrl+A interception and a distinct Option configuration problem without treating either as a reason to rewrite the shell’s bindings.

Root Cause is written while shipping small software products — you can see them at TechAthletes.

All posts →

Get new posts by email

We email you only when a new post goes up here. You can unsubscribe at any time.

Privacy policy