hermes - 💡(How to fix) Fix [Bug][Regression]: Shift+Enter / Option+Enter submit prompt instead of inserting newline on Hermes CLI (not --tui) since 0.13.0 [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#24837Fetched 2026-05-14 03:51:19
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×3commented ×2closed ×1cross-referenced ×1

Shift+Enter and Option+Enter in Hermes CLI no longer insert newlines as of Hermes 0.13.0 onwards. This worked correctly in 0.12.0 but is broken on latest main.

Root Cause

Shift+Enter and Option+Enter in Hermes CLI no longer insert newlines as of Hermes 0.13.0 onwards. This worked correctly in 0.12.0 but is broken on latest main.

Fix Action

Fix / Workaround

  • Option+Enter has the same broken behavior (submits instead of inserting newline)
  • Esc then Enter still works as a workaround for inserting newlines
  • Pasting multi-line text works fine (not a bracketed-paste issue)
  • This is a regression: Shift+Enter worked correctly in 0.12.0
RAW_BUFFERClick to expand / collapse

Description

Shift+Enter and Option+Enter in Hermes CLI no longer insert newlines as of Hermes 0.13.0 onwards. This worked correctly in 0.12.0 but is broken on latest main.

Reproduction Steps

  1. Run hermes in Warp terminal (no tmux/screen)
  2. Type "hello"
  3. Press Shift+Enter
  4. The prompt "hello" is submitted immediately instead of cursor moving to a new line

Expected Behavior

Shift+Enter inserts a newline so that multi-line input can be composed directly in the CLI.

Actual Behavior

Shift+Enter submits the prompt (same behavior as plain Enter). Option+Enter behaves the same way.

Additional Info

  • Option+Enter has the same broken behavior (submits instead of inserting newline)
  • Esc then Enter still works as a workaround for inserting newlines
  • Pasting multi-line text works fine (not a bracketed-paste issue)
  • This is a regression: Shift+Enter worked correctly in 0.12.0

Environment

  • Terminal: Warp (latest)
  • Hermes version: latest main (0.13.0+)
  • OS: macOS
  • No tmux / screen

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING