Skip to content

Embedded terminal (v1) #8

Description

@nitin-1926

Summary

Run a profile inside an in-app terminal instead of shelling out to a new macOS Terminal window. v1 = a single embedded terminal launching ccpm run <profile>.

Approach

  • Frontend: xterm.js + fit/webgl addons.
  • Backend: real PTY via creack/pty, stream bytes over Wails events; handle resize, exit code, cleanup-on-close.
  • Reuse the GUI-no-PATH resolution already in services/binary.go.

Acceptance criteria

  • Embedded terminal launches ccpm run <profile>.
  • Correct resize (fit addon <-> PTY winsize).
  • Clean exit + process teardown on tab/app close (no orphan PTYs).
  • Scrollback + copy/paste work.

Non-goals (v1)

Tabs / multiple instances (follow-up), split panes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions