mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-11-06 08:15:35 +00:00
- The keyboard: the WebView runs edge to edge and is not resized for it, so it covered the dock and the pane's last lines. The app now takes the size of the visual viewport, drops the home indicator's gap while the keyboard is up, and keeps the cursor's line in sight. - Scrolling: the terminal draws with xterm's WebGL renderer, which a scroll does not make lay every row out again. A swipe is applied once a frame, and moves the view by pixels: xterm scrolls whole rows, and the rest of a row is a GPU shift of the drawn screen, put on together with the rows it goes with. Claude-Session: https://claude.ai/code/session_01HVosmYyVSH3BrsLYx3tcSS
23 lines
480 B
JSON
23 lines
480 B
JSON
{
|
|
"name": "tty7-mobile",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc --noEmit && vite build",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.11.1",
|
|
"@tauri-apps/plugin-barcode-scanner": "^2.5.0",
|
|
"@xterm/addon-webgl": "^0.19.0",
|
|
"@xterm/xterm": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2.11.5",
|
|
"typescript": "^5.9.0",
|
|
"vite": "^8.3.1"
|
|
}
|
|
}
|