exocore-docs / docs /editor /03-editor-terminal.md
ChoruYt's picture
Upload 151 files
dc2b30a verified
|
Raw
History Blame Contribute Delete
1.06 kB

03 — Integrated terminal

KittyTerminal.tsx wraps xterm.js over a WebSocket pty bridge. Multiple tabs and split panes are supported; each tab is a separate node-pty process scoped to the project's working directory.

Screenshots

Desktop Mobile
03 — Integrated terminal — desktop 03 — Integrated terminal — mobile

What it does

  • WebSocket endpoint: wss://<host>/exocore/api/editor/shell?projectId=…&tabId=….

  • Server-side: node-pty spawns the user's preferred shell (bash on Linux containers, pwsh on Windows hosts) inside projects/<projectId>/.

  • ANSI colors and unicode glyphs use the Cascadia Code / JetBrainsMono Nerd Font fallback chain.

    Source files

  • routes/editor/shell.ts


    ← Back to the editor index.