hyper/docs
Philip Peterson e2de7e18d1
Fix linux issues (#375)
* Support scroll on linux

* Close tab on middle-click of the X button too

The X icon only had onClick, which browsers never fire for the middle
button. Wire it to the same middle-click handler already used on the
tab body so middle-clicking the X closes the tab like clicking
anywhere else on it does.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Spawn shell via flatpak-spawn --host on Flatpak builds

The Flatpak build sandboxes the shell inside the app's mount namespace,
so PATH ends up as whatever the runtime provides (/app/bin:/usr/bin)
with no access to /usr/local or /home/linuxbrew, unlike an unsandboxed
terminal like Konsole. Route the pty through flatpak-spawn --host so
the shell actually runs on the host and its --login profile computes a
normal host PATH, and grant the org.freedesktop.Flatpak talk-name the
portal needs for this.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Document Flatpak shell-spawning fix and bare-shell-name limitation

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Fix prettier lint in session.ts and tabs.tsx

Both fit within the 120-column print width, so prettier wants them on
one line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-11 08:00:02 -08:00
..
flatpak-shell.md Fix linux issues (#375) 2026-10-11 08:00:02 -08:00