Skip to content

feat: add cross-platform embedded terminal#35

Merged
danyalahmed1995 merged 1 commit into
mainfrom
feature/embedded-terminal
Jun 17, 2026
Merged

feat: add cross-platform embedded terminal#35
danyalahmed1995 merged 1 commit into
mainfrom
feature/embedded-terminal

Conversation

@danyalahmed1995

Copy link
Copy Markdown
Owner

Summary

Adds an optional cross-platform embedded terminal to EXT, available from Settings and toggleable with a keyboard shortcut.

Changes

  • Added an embedded terminal panel below the editor/preview area.

  • Added Settings toggles for:

    • Enable embedded terminal
    • Auto-sync directory to active file
  • Added platform-aware shell support:

    • Windows: pwsh / PowerShell
    • macOS: default shell / zsh
    • Linux: default shell / bash / sh
  • Added PTY-backed terminal process handling.

  • Added terminal controls:

    • Sync CWD
    • Clear
    • Restart
    • Close
  • Added Ctrl + \`` / Cmd + `` shortcut to toggle the terminal.

  • Added automatic cwd syncing across files and workspaces.

  • Added manual cwd syncing when auto-sync is disabled.

  • Styled the terminal to match EXT themes.

  • Fixed terminal blanking after clear and tab switching.

  • Fixed visual terminal artifacts such as the stray black vertical line.

  • Prevented unnecessary terminal restarts when switching files.

  • Added process cleanup when terminal is disabled or EXT fully quits.

Testing

  • Verified terminal can be enabled and disabled from Settings.
  • Verified terminal opens in the active file directory.
  • Verified cwd sync works across different files and workspaces.
  • Verified manual Sync CWD works when auto-sync is disabled.
  • Verified paths with spaces and non-C drive paths work on Windows.
  • Verified clear keeps the terminal interactive.
  • Verified terminal theme matches EXT Dark and Gruvbox Glass.
  • Verified `Ctrl + `` toggles terminal visibility.
  • Verified terminal does not restart unnecessarily on tab switch.
  • Verified disabling terminal cleans up the shell process.
  • Verified full quit does not leave orphaned terminal processes.
  • Verified Editor, Split, and Preview layouts still work.

@danyalahmed1995 danyalahmed1995 merged commit 92fb1eb into main Jun 17, 2026
1 of 2 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.

1 participant