Skip to content

fix(app): open links in terminal output through the opener plugin #39

Closed

Description

@arifintahu

Grid.svelte loads xterm's WebLinksAddon with no handler, so Ctrl-clicking a URL uses the addon's default window.open inside the Tauri webview. The app already opens external links through @tauri-apps/plugin-opener (openUrl, see settings/AboutSettings.svelte).

Not verified yet: what the default handler does in a built app (new window, nothing, or the system browser). Step one is to try it in pnpm dev and in a release build and report what happens.

Done when

  • new WebLinksAddon(handler) passes a handler that calls openUrl for http(s) links only.
  • A test covers the handler (*.test.ts, Vitest).
  • Ctrl-clicking a link in a tab opens the system browser, checked in a built app.

Hints: packages/app/src/terminal/Grid.svelte (search for WebLinksAddon); the opener permission is already in packages/desktop/capabilities/default.json. Setup and checks are in CONTRIBUTING.md.

Activity

  1. added
    bug
    good first issue
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions