bug(cli): AskUserQuestion covers live transcript output in TUI

Open
#5,563 1 comment 0 reactions 1 assignee View on GitHub

@me2seeks is already working on this.

Since Sep 21, 2026.

Assessment

This issue has not been assessed yet.

Description

bug

What happened

When Maka TUI waits for an AskUserQuestion answer after model output has already been produced, the question prompt is rendered as a bottom overlay over the live terminal viewport. Long questions or wrapped options can hide the latest model output until the user answers.

How to reproduce

  1. Run Maka TUI in an 80x24 terminal.
  2. During one turn, produce model output and then call AskUserQuestion with long option descriptions.
  3. Leave the question open.

The prompt is composited over the transcript instead of reserving its own rows.

Expected

The question prompt should occupy its own rows at the bottom, while the transcript reflows or scrolls above it so the latest model output remains readable.

Environment

  • Surface: TUI / CLI
  • Maka commit: 1c18700a72
  • Node.js: 26.3.0
  • OS: Linux / WSL

Logs, screenshots, or additional context

This is separate from #4610/#4615, which addressed horizontal truncation and wrapping of long AskUserQuestion options. #5016 is a broader transcript-reading tracker and does not cover this overlay geometry defect.

Dominant language
TypeScript
Stars
5.6k
Forks
518
Avg merge
1d 3h
Merged PRs (30d)
684

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/maka

All issues in apache/maka

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.