hyper/lib/components
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
..
header.tsx header > function component 2023-08-01 20:04:38 +05:30
new-tab.tsx Fix Windows issues, upgrade dependencies (#253) 2026-05-03 04:52:41 -07:00
notification.tsx sort imports 2023-07-26 00:16:14 +05:30
notifications.tsx More replace zeit/vercel with quine (#88) 2024-11-29 00:57:50 -09:00
searchBox.tsx Fix Windows issues, upgrade dependencies (#253) 2026-05-03 04:52:41 -07:00
split-pane.tsx split-pane > function component 2023-08-01 17:57:05 +05:30
style-sheet.tsx Fix ARM build (#230) 2026-01-04 09:23:11 -05:00
tab.tsx Fix linux issues (#375) 2026-10-11 08:00:02 -08:00
tabs.tsx Fix linux issues (#375) 2026-10-11 08:00:02 -08:00
term-group.tsx sort imports 2023-07-26 00:16:14 +05:30
term.tsx Search command should re-focus search box if already open (#164) 2025-06-07 21:15:54 -07:00
terms.tsx sort imports 2023-07-26 00:16:14 +05:30