# NousResearch/hermes-agent · TUI newline keybindings (Ctrl+J/Ctrl+Enter) in VTE terminals

## Open now

- 1 issue, 2 PRs open on GitHub.
- #51545: TUI: Ctrl+J does not insert newline in Ubuntu/VTE terminals
- PR #51546: fix(tui): preserve Ctrl+J newline in VTE terminals
- PR #98289: fix(tui): advertise extended keys and Ctrl+J newline on alacritty, foot, kitty and VTE

These items concern how the TUI handles newline insertion via Ctrl+J or Ctrl+Enter in VTE-based terminals such as those on Ubuntu. One also mentions extended-key handling for alacritty, foot, and kitty; the set includes one issue report and several pull requests addressing related behavior.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. 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.

## Open related issues

- #51545: TUI: Ctrl+J does not insert newline in Ubuntu/VTE terminals

## Prior & competing PRs

- **#51546: fix(tui): preserve Ctrl+J newline in VTE terminals**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#52102`
  - files: `ui-tui/src/__tests__/textInputPassThrough.test.ts`, `ui-tui/src/components/textInput.tsx`
- **#52102: fix(tui): preserve Ctrl+Enter newline on VTE-based terminals**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`
- **#98289: fix(tui): advertise extended keys and Ctrl+J newline on alacritty, foot, kitty and VTE**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `d91b699a67`, `#51546`, `#51545`, `#88957`
  - files: `contributors/emails/[redacted:email]`, `ui-tui/packages/hermes-ink/src/ink/terminal.test.ts`, `ui-tui/packages/hermes-ink/src/ink/terminal.ts`, `ui-tui/packages/hermes-ink/src/utils/env.ts`, `ui-tui/src/__tests__/textInputReturnAction.test.ts`, `ui-tui/src/components/textInput.tsx`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
