#12398·oh-my-pi

[BUG] Terminal output cut‑off when ask tool occupies bottom of screen

Author: xuansweCreated Sep 18, 2026Updated Sep 18, 2026
Labelsbug

Description

When using the ask tool in the terminal, the output display is sometimes cut‑off or incomplete. The issue appears to be related to how the terminal redraws content when the ask tool is active at the bottom of the screen. Normally, to answer the question, the user needs to read the immediate previous output. If it is cut‑off, the user cannot answer the question at all.

Steps to Reproduce

1. Run a command that produces long output in the terminal and that triggers the ask tool immediately after that long output.

Observe that the output is cut‑off at the bottom of the screen.

Image

2. After answering the ask tool’s question, more of the previous output is revealed, but sometimes still incomplete.

Image

3. Wait until the next output is shown — only then does the previous output appear fully.

Image

Expected Behavior

  • Output should be displayed completely without requiring additional prompts or waiting for subsequent output.
  • The ask tool should not interfere with the rendering of terminal output.

Error Output

bash

Platform

Linux

omp version

18.2.5

Bun version

1.3.14

Provider

None

Area

TUI / Display

Additional context

No response