Skip to content

feat: improve terminal UX with links, WebGL fix, search toggles, keyboard remaps, and word selection#176

Merged
DeadWaveWave merged 7 commits intoDeadWaveWave:mainfrom
sonSunnoi:feat/upgrade-terminal-function
Apr 15, 2026
Merged

feat: improve terminal UX with links, WebGL fix, search toggles, keyboard remaps, and word selection#176
DeadWaveWave merged 7 commits intoDeadWaveWave:mainfrom
sonSunnoi:feat/upgrade-terminal-function

Conversation

@sonSunnoi
Copy link
Copy Markdown
Contributor

Summary

  • Link detection: register UrlLinkProvider + FilePathLinkProvider — Cmd/Ctrl+click opens URLs and file paths
  • WebGL race fix: move activatePreferredTerminalRenderer after terminal.open() so WebGL has a DOM parent
  • Search toggles: add case-sensitive and regex toggle buttons to find bar; persist preferences across searches
  • Addons: load Unicode11Addon (before open) and LigaturesAddon (after renderer activation)
  • macOS keyboard remaps: Cmd+Backspace → kill line, Cmd+Left/Right → line nav, Option+Left/Right → word nav, Option+Backspace → kill word
  • Word selection: Option+Shift+Left/Right extends visual selection by word via buffer scan + terminal.select()
  • Test suite: add registerLinkProvider no-op stub to all MockTerminal classes; fix ligatures Vite alias resolution

Test plan

  • Cmd/Ctrl+click on a URL in terminal opens browser
  • Cmd/Ctrl+click on a file path opens file
  • WebGL renderer activates without console errors on first open
  • Find bar case-sensitive toggle filters results correctly
  • Find bar regex toggle enables regex search
  • Search preferences persist when toggling find bar closed and reopening
  • Cmd+Backspace deletes to start of line
  • Option+Left/Right moves cursor by word
  • Option+Backspace deletes previous word
  • Option+Shift+Left/Right extends selection by word
  • Unit tests pass: pnpm test

🤖 Generated with Claude Code

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 14, 2026

CLA assistant check
All committers have signed the CLA.

@sonSunnoi sonSunnoi force-pushed the feat/upgrade-terminal-function branch from 5759612 to 1e14b5d Compare April 14, 2026 18:07
…lection

- Register UrlLinkProvider and FilePathLinkProvider for Cmd/Ctrl+click navigation
- Fix WebGL race: activate renderer after terminal.open() for valid DOM parent
- Add case-sensitive and regex toggle buttons to find bar
- Load Unicode11Addon and LigaturesAddon with correct activation order
- macOS keyboard remaps: Cmd+Backspace, Cmd+Left/Right, Option+Left/Right, Option+Backspace
- Fix TerminalNode test suite: MockTerminal stubs for unicode/ligatures/link APIs
@sonSunnoi sonSunnoi force-pushed the feat/upgrade-terminal-function branch from 1e14b5d to 0f428f5 Compare April 14, 2026 19:25
@DeadWaveWave DeadWaveWave merged commit 3521c36 into DeadWaveWave:main Apr 15, 2026
7 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.

3 participants