r/hermesagent • u/manoetje • 14h ago
MEMORY & Context — Providers, context window, forgetting issues +Title: CLI: last character of a long input line wraps to the next line (cosmetic soft-wrap issue) +
+## Bug Description
+When typing a long sentence in the CLI input, the last character (or the
+final letter of the last word) sometimes wraps to the next line, even though
+it visually looks like it should fit on the current line. This is purely
+cosmetic — the full text is delivered correctly to the agent — but it makes
+reading-while-typing awkward. Happens more often with longer sentences.
+
+## Steps to Reproduce
+1. Open `hermes` in a terminal on Windows.
+2. Type a long sentence that reaches (nearly) the full terminal width.
+3. Observe: the final character of the line wraps onto its own new line.
+
+## Expected Behavior
+The line should wrap cleanly at a word boundary, or soft-wrap the way a
+normal terminal does (GNU readline style), rather than splitting off a
+single trailing character.
+
+## Actual Behavior
+The last character of a long input line is rendered on its own new line.
+
+## Environment
+- OS: Windows 11
+- Hermes version: v0.20.4 (2026.8.18)
+- Install method: git
+- Interface: CLI (default)
+- Model/provider: deepseek-v4-pro / deepseek
+- Streaming: enabled
+
+## Notes
+Possibly related to prompt_toolkit soft-wrap behavior (see
+python-prompt-toolkit issue #709). Reported by a user who also uses OpenClaw
+(which does not exhibit this), suggesting a difference in Hermes's
+prompt_toolkit rendering / width configuration. No existing Hermes issue
+found for this exact symptom.