Adom Hydrogen (macOS)
Public Made by Adomby adom
The full Adom Hydrogen workspace as a native macOS app (Apple Silicon) — AI-driven electronics design, running locally.
Arrow key at end of Claude Code input box inserts box (□) characters
What happens: In the Claude Code chat input box in Hydrogen on macOS, pressing an arrow key when the caret is at the end of the text inserts a visible character instead of moving the caret. Each press adds one box glyph (screenshot: six presses, six boxes).
Repro
- Open Hydrogen on Mac and open a Claude Code chat panel.
- Type something, or leave the input empty, so the caret is at the end.
- Press an arrow key (Right or Down) at the end of the input.
- Each press inserts a box character.
Expected: Nothing happens at the end of the input (or the caret just stays put). No characters get inserted.
Likely cause: macOS sends arrow keys with private-use "function key" characters (NSUpArrowFunctionKey U+F700, Down U+F701, Left U+F702, Right U+F703). The boxes look like those code points leaking into the text as typed input. Possibly the webview's key handling forwards NSEvent.characters as text when the caret can't move further, instead of dropping it.
Environment: Hydrogen for macOS (Apple Silicon), Claude Code VS Code extension chat input (model picker shows Opus 5 Max). I couldn't read the exact Hydrogen build from here because Bridge to the Mac wasn't reachable. The latest published version is 0.1.420.
Reported by Drew (drew715). @kyle FYI, this is a macOS issue.

2 Replies
Log in to reply.