# NousResearch/hermes-agent · IME composition handling for Enter submit in TUI/desktop

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #39246: fix(tui): guard Enter submit against IME composition via timestamp

Members concern Enter key handling during IME composition (e.g., Chinese input), where Enter may submit input instead of confirming a candidate. They include a bug report and pull requests proposing guards, with two sharing the same title; the desktop one also mentions keyCode 229, stale-flag handling, and keybind combos.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #86760. Verify it addresses your case.
- **Recommended:** read PR #86760 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-86760`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #39195: \[Bug\]: Hermes Desktop TUI 中文输入法 IME 状态下按 Enter/Return 直接提交，而非确认候选词

## Prior & competing PRs

- **#86760: fix(desktop): consolidated IME composition handling — Enter guards, keyCode 229, stale-flag self-heal, keybind combos**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/chat/composer/enter-stale-ime-flag.test.tsx`, `apps/desktop/src/app/chat/composer/ime-composition-dom-repro.test.tsx`, `apps/desktop/src/app/chat/composer/index.tsx`, `apps/desktop/src/app/chat/sidebar/session-actions-menu.tsx`, `apps/desktop/src/components/assistant-ui/thread/user-edit-composer.tsx`, `apps/desktop/src/components/assistant-ui/thread/user-message-edit.test.tsx`, `apps/desktop/src/components/onboarding/flow.tsx`, `apps/desktop/src/components/onboarding/index.tsx`, `apps/desktop/src/lib/keybinds/combo.test.ts`, `apps/desktop/src/lib/keybinds/combo.ts`, `contributors/emails/baslam@users.noreply.github.com`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`
- **#39230: fix(tui): guard Enter submit against IME composition via timestamp**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#39246: fix(tui): guard Enter submit against IME composition via timestamp**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#39695`
  - files: `ui-tui/src/components/textInput.tsx`

## Fix status

- Merged to main in PR #86760 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-15`.
- Subsystem: `apps/desktop`
