2ece7074f6
- Revert touch-action: none on .xterm-viewport so xterm.js can fall back to its own viewport scrolling when the custom handler doesn't take over. - Detect alternate screen via reference equality (term.buffer.active === term.buffer.alternate) instead of the string, which could report normal buffer incorrectly. - Lower vertical-scroll activation threshold from 4px to 2px and only prevent default once a vertical gesture is recognized. - In normal buffer use term.scrollLines() so xterm.js handles the buffer scroll consistently; in alternate screen continue sending SGR 1006 mouse-wheel sequences to tmux/vim. Quality gates: typecheck, lint clean, npm test -- --run 87 passed.
1.5 KiB
1.5 KiB
apps/web/src (index)
dir: apps/web/src
role
Frontend web application entry point and core infrastructure for a React-based collaborative development platform.
parent
index: apps/web/.pi-map.index.md map: apps/web/.pi-map.md
children
- apps/web/src/api index: apps/web/src/api/.pi-map.index.md map: apps/web/src/api/.pi-map.md
- apps/web/src/components index: apps/web/src/components/.pi-map.index.md map: apps/web/src/components/.pi-map.md
- apps/web/src/hooks index: apps/web/src/hooks/.pi-map.index.md map: apps/web/src/hooks/.pi-map.md
- apps/web/src/pages index: apps/web/src/pages/.pi-map.index.md map: apps/web/src/pages/.pi-map.md
- apps/web/src/state index: apps/web/src/state/.pi-map.index.md map: apps/web/src/state/.pi-map.md
- apps/web/src/styles index: apps/web/src/styles/.pi-map.index.md map: apps/web/src/styles/.pi-map.md
- apps/web/src/test index: apps/web/src/test/.pi-map.index.md map: apps/web/src/test/.pi-map.md
- apps/web/src/types index: apps/web/src/types/.pi-map.index.md map: apps/web/src/types/.pi-map.md
- apps/web/src/utils index: apps/web/src/utils/.pi-map.index.md map: apps/web/src/utils/.pi-map.md
files
- main.tsx
- router.tsx
- types.ts
links
index: apps/web/src/.pi-map.index.md map: apps/web/src/.pi-map.md
workflows
- change src behavior read: main.tsx, router.tsx, types.ts
- explore src subdirectories index: apps/web/src/api/.pi-map.index.md, apps/web/src/components/.pi-map.index.md, apps/web/src/hooks/.pi-map.index.md