CLI layout: blank space and input anchoring issues

NousResearch/hermes-agent · cluster 4398 · hermes cli

Data as of

Nothing open on GitHub. Fix merged in #4412. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 2 issues already closed.
Fix event
A fix was merged to main in PR #4412. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and fixes relate to unwanted blank space appearing between responses and the input area in the CLI, and efforts to control vertical padding and terminal anchoring behavior.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #4412 fix(cli): pin entire TUI to bottom of terminal on startup

    merged to main

    files: cli.py

    Show the diff
    • cli.py
      @@ -6343,6 +6343,17 @@ def _build_tui_layout_children(
       
           def run(self):
               """Run the interactive CLI loop with persistent input at bottom."""
      +        # Push the entire TUI to the bottom of the terminal so the banner,
      +        # responses, and prompt all appear pinned to the bottom — empty
      +        # space stays above, not below.  This prints enough blank lines to
      +        # scroll the cursor to the last row before any content is rendered.
      +        try:
      +            _term_lines = shutil.get_terminal_size().lines
      +            if _term_lines > 2:
      +                print("\n" * (_term_lines - 1), end="", flush=True)
      +        except Exception:
      +            pass
      +
               self.show_banner()
       
               # One-line Honcho session indicator (TTY-only, not captured by agent).
      @@ -7569,18 +7580,6 @@ def _expand_ref(m):
                               self._agent_running = False
                               self._spinner_text = ""
       
      -                        # Push the input prompt toward the bottom of the
      -                        # terminal so it doesn't sit mid-screen after short
      -                        # responses.  patch_stdout renders these newlines
      -                        # above the input area, creating visual separation
      -                        # and anchoring the prompt near the bottom.
      -                        try:
      -                            _pad = shutil.get_terminal_size().lines // 2
      -                            if _pad > 2:
      -                                _cprint("\n" * _pad)
      -                        except Exception:
      -                            pass
      -
                               app.invalidate()  # Refresh status line
       
                               # Continuous voice: auto-restart recording after agent responds.

1 PR closed without merging

From the close comments: done elsewhere 1

  • #4436 fix(cli): only pad short responses to avoid pushing content off-screen · done elsewhere → #4421, #4412, #4359
Closed issues · 2
  • Closed#4398[Bug] v0.6.0 CLI displays large blank space between response and input area
  • Closed#4421fix(cli): post-response padding newlines push content off-screen
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.39: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
hermes cli
Merged PRs
#4412
Closed issues
2
Attempts
1 PR closed without merging
Fix link checked
1 Apr 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.

For your agent

The same facts, typed.