pi-claude-code-tui

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

pi-claude-code-tui

A pi package that gives startup a polished Pi header while keeping pi's original footer.

Screenshot

Installation

Install from npm globally for your user:

pi install npm:pi-claude-code-tui

Or install it only for the current project:

pi install -l npm:pi-claude-code-tui

Try it for one run without installing:

pi -e npm:pi-claude-code-tui

What it changes

  • Header title: left-aligned ─── Pi v<pi version> ───── (theme accent color)
  • Animated Pi logo matching the dynamic color-changing mark from curl -fsSL https://pi.dev/install.sh | sh, settling into the accent color
  • Center text: Let's build something great
  • Shows current model (provider/id), thinking effort, and cwd
  • Right-side tips panel on wide terminals (narrow sidebar with truncation)
  • Half-open rounded input box (top/bottom borders only; uses editor border color)
  • Block cursor uses the theme accent color
  • Keeps pi's original footer and spinner

Local development

pi -e .

Commands

  • /use-claude-code-tui — switch to this package's look (Pi header + Codex-style input)
  • /use-default-tui — switch back to pi's built-in header, footer, editor, and spinner

License

MIT