Skip to content

[Feature] Support normal screen buffer mode for scrollable terminal history #1329

Description

@Marmot1024

Problem

When using MiMoCode in macOS Terminal (MacBook M5 Pro), it's impossible to scroll up to view previous response content. Scrolling up shows a mix of previous shell output and current MiMoCode UI content.

Claude Code and Codex on the same device don't have this issue — their output is fully scrollable.

Root Cause

MiMoCode uses @opentui/core TUI framework which defaults to alternate screen buffer mode (\x1b[?1049h). This mode has no scrollback history.

Proposed Solution

Please consider one of:

  1. Add --no-alternate-screen flag or config option
  2. Implement internal scrollback in the TUI
  3. Add output logging that persists responses to a file

Environment

  • macOS, MacBook M5 Pro
  • MiMoCode v0.1.3
  • @opentui/core v0.1.101

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions