Skip to content

fix(terminal+chat): split pane cwd, inactive dim, markdown token scale#57

Merged
0xmrpeter merged 2 commits intoOpen-ACP:developfrom
lngdao:develop
Apr 23, 2026
Merged

fix(terminal+chat): split pane cwd, inactive dim, markdown token scale#57
0xmrpeter merged 2 commits intoOpen-ACP:developfrom
lngdao:develop

Conversation

@lngdao
Copy link
Copy Markdown
Contributor

@lngdao lngdao commented Apr 23, 2026

Summary

Two small UI fixes bundled on develop:

  • terminal: split panes now inherit the workspace cwd instead of spawning in `$HOME`. `splitActive` accepts a `cwd` argument, threaded through from `TerminalPanel` (workspacePath).
  • terminal: dim the inactive leaf at 50% opacity so the focused pane is visually obvious. Tried hiding the cursor on inactive panes via VT sequences / ghostty-web internals — all variants either leaked cursors or raced into a stuck-static state. Opacity on a wrapper div is simpler and reliable.
  • chat: scale AI markdown + thinking block to design tokens (already on develop).

Test plan

  • Split terminal horizontally and vertically — new pane prompt shows workspace dir, not `~`
  • Click between panes — only the focused one is at full opacity, others dimmed
  • Close button still visible/clickable on the dimmed pane hover
  • AI markdown + thinking blocks render at the correct sizes in both light/dark

nakamoto-hiru and others added 2 commits April 23, 2026 10:41
Replace hardcoded px in markdown body, headings, thinking summary
and thinking content with --text-sm / --text-xs / --text-2xs so
AI chat scales with user message bubble and base font tokens.
Move thinking-block empty-state inline style to Tailwind utilities.
Update Pencil design mockups.
New split panes were spawning in $HOME because splitActive passed an empty
cwd to the backend. Thread workspacePath through from TerminalPanel so new
leaves open in the same dir as the tab they split from.

Also dim the inactive leaf at 50% opacity so the focused pane is obvious
without fighting ghostty-web's canvas-rendered cursor.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@0xmrpeter 0xmrpeter merged commit 594a57a into Open-ACP:develop Apr 23, 2026
5 checks passed
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.

3 participants