pi-mono/packages/tui/test
Mario Zechner 30a8a41fc3 fix(tui): default hyperlinks off for unknown terminals and tmux/screen
OSC 8 hyperlinks landed in #3248, but detectCapabilities() returned
hyperlinks: true in the unknown-terminal fallback. Terminals that
silently swallow OSC 8 (most xterm-compatible hosts, tmux/screen
without passthrough) end up dropping the URL from rendered markdown
links entirely, since the fallback 'text (url)' rendering is skipped
whenever hyperlinks is true.

- Unknown terminals now default to hyperlinks: false.
- tmux and screen (TMUX env, TERM starting with tmux/screen) force
  hyperlinks: false even when the outer terminal would otherwise
  advertise OSC 8 support. Image protocols also left disabled.
- Added detectCapabilities tests covering the known-capable set and
  the tmux/screen/unknown cases.
2026-04-16 22:19:38 +02:00
..
autocomplete.test.ts fix(tui): keep @ autocomplete responsive in large trees closes #1278 2026-03-26 15:43:51 +01:00
bug-regression-isimageline-startswith-bug.test.ts fix: make pre-commit hook fail on lint warnings, fix template literal warnings 2026-02-01 00:25:57 +01:00
chat-simple.ts fix(tui): add vertical scrolling to Editor when content exceeds terminal height 2026-01-16 04:12:21 +01:00
editor.test.ts fix(tui): preserve column of cursor before it entered a paste marker (#3092) 2026-04-13 11:03:18 +02:00
fuzzy.test.ts More fuzzy finder (#860) 2026-01-19 22:22:51 +01:00
image-test.ts Enable more biome lints and fix things 2025-12-21 22:56:20 +01:00
input.test.ts fix(tui): stop wide input slice overflow closes #1982 (#2006) 2026-03-09 23:19:26 +01:00
key-tester.ts feat: configurable keybindings for all editor and app actions 2026-01-03 08:23:56 +01:00
keybindings.test.ts fix(tui): stop evicting unrelated default keybindings closes #2455 2026-03-20 12:54:20 +01:00
keys.test.ts test(tui): isolate Windows Terminal backspace env coverage (#3220) 2026-04-15 15:21:34 +02:00
markdown.test.ts feat(tui): use OSC 8 hyperlinks in Markdown when terminal supports them (#3248) 2026-04-16 22:13:36 +02:00
overlay-non-capturing.test.ts fix(tui): sync test awaits with throttled render pipeline (#3076) 2026-04-13 10:57:48 +02:00
overlay-options.test.ts fix(tui): sync test awaits with throttled render pipeline (#3076) 2026-04-13 10:57:48 +02:00
overlay-short-content.test.ts fix(tui): sync test awaits with throttled render pipeline (#3076) 2026-04-13 10:57:48 +02:00
regression-regional-indicator-width.test.ts fix(tui): stabilize regional indicator width to prevent streaming render drift (#1783) 2026-03-03 21:59:56 +01:00
select-list.test.ts feat(tui): make select list column sizing configurable (#2154) 2026-03-14 15:50:00 +01:00
stdin-buffer.test.ts fix(tui): handle batched input over SSH with StdinBuffer 2026-01-07 17:50:06 +01:00
terminal-image.test.ts fix(tui): default hyperlinks off for unknown terminals and tmux/screen 2026-04-16 22:19:38 +02:00
test-themes.ts Add CI workflow and fix workspace tests 2025-12-02 12:53:53 +00:00
truncate-to-width.test.ts fix(tui): stream truncateToWidth for large strings closes #2447 2026-03-21 10:06:29 +01:00
truncated-text.test.ts Enable more biome lints and fix things 2025-12-21 22:56:20 +01:00
tui-cell-size-input.test.ts fix(tui): stop swallowing escape during cell size detection closes #2661 2026-03-29 13:22:23 +02:00
tui-overlay-style-leak.test.ts fix(tui): sync test awaits with throttled render pipeline (#3076) 2026-04-13 10:57:48 +02:00
tui-render.test.ts fix(tui): sync test awaits with throttled render pipeline (#3076) 2026-04-13 10:57:48 +02:00
viewport-overwrite-repro.ts fix(tui): fix scrollback overwrite when appending lines past viewport 2026-01-26 16:51:28 +01:00
virtual-terminal.ts fix(tui): sync test awaits with throttled render pipeline (#3076) 2026-04-13 10:57:48 +02:00
wrap-ansi.test.ts feat(tui): use OSC 8 hyperlinks in Markdown when terminal supports them (#3248) 2026-04-16 22:13:36 +02:00