Skip to content

feat: thread terminal pane parity#19

Open
BearHuddleston wants to merge 1 commit intomaria-rcks:mainfrom
BearHuddleston:Bear/thread-terminal-pane-parity
Open

feat: thread terminal pane parity#19
BearHuddleston wants to merge 1 commit intomaria-rcks:mainfrom
BearHuddleston:Bear/thread-terminal-pane-parity

Conversation

@BearHuddleston
Copy link
Copy Markdown

@BearHuddleston BearHuddleston commented Apr 8, 2026

What changed

This adds a thread terminal pane to the TUI and brings it much closer to Desktop behavior where that maps cleanly to the terminal surface.

Key changes:

  • add a real xterm-backed TUI terminal surface instead of a plain transcript view
  • support thread-scoped terminal state, multiple tabs, split panes, and full-screen terminal mode
  • align terminal scrolling, selection, and copy behavior more closely with the session pane and composer UX
  • share terminal state/activity helpers in client-core so the TUI and web app use the same terminal state model
  • tighten terminal controls and toolbar icons in the TUI header

Why

The existing TUI did not have Desktop-like terminal support for thread work. This change closes that gap and fixes a long chain of interaction issues around focus, selection, split behavior, scrolling, and PTY rendering.

Impact

  • TUI users can open, split, scroll, resize, focus, and full-screen thread terminals directly in the main thread view
  • terminal selection/copy behavior is much closer to other selectable surfaces in the app
  • shared terminal state logic reduces divergence between TUI and web terminal state handling

Root cause

The earlier TUI approach rendered PTY output as normalized transcript text, which could not support correct cursor placement, selection stability, split-pane interaction, or session-pane-like scrolling behavior.

Validation

  • bun fmt
  • bun lint
  • bun typecheck

Demo

2026-04-08.12-30-17-github.mp4

@BearHuddleston BearHuddleston changed the title [codex] thread terminal pane parity feat: thread terminal pane parity Apr 8, 2026
@BearHuddleston BearHuddleston marked this pull request as ready for review April 8, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant