PocketShell v1.7.1
PocketShell v1.7.1
修复
- 多开窗口后终端花屏:同时开着多个终端标签页时,切换或从后台切回后部分标签页文字错乱、缺字或整屏空白,关掉单个标签页和重开 App 都无效,只有关掉全部标签页才恢复 → 现在只有当前可见的标签页占用 GPU 渲染上下文,切走即释放,不再触发浏览器的上下文数量上限。
- 看不见输入光标:手机上终端里的光标是一个一像素宽的空心细框,几乎不可见,只能靠直觉移动光标 → 改为实心块,且不再需要先聚焦才显示。
- 字形错位:多个终端共用同一份字形图集时,图集内部合并后部分字符可能画到错误位置(上游 xterm.js 问题)。
变更
- xterm.js 升级至 6.1.0:包含上述字形错位的上游修复。
已知问题
- 本版依赖 xterm.js 的 beta 版本(
@xterm/xterm@6.1.0-beta.292、@xterm/addon-webgl@0.20.0-beta.291)。字形错位的上游修复目前只存在于 beta 线,最近的正式版(addon-webgl@0.19.0)尚未包含。依赖已锁定为精确版本号,不会自动漂移到未经验证的构建;待上游发布含该修复的正式版后会切回正式线。 - 前端资源包体积因此增加约 69 KB(gzip 后)。
升级
应用内点更新徽标,或:
curl -fsSL https://raw.githubusercontent.com/Big-Pony/pocketshell/main/install.sh | sh装成服务的升级后需重启:sudo systemctl restart pocketshell(macOS 上 launchd 会自动拉起)。
PocketShell v1.7.1
Fixed
- Garbled terminals with several tabs open: with multiple terminal tabs open, switching tabs or returning from the background left some tabs with scrambled, missing or entirely blank text; closing an individual tab or restarting the app did not help, and only closing every tab restored it → only the visible tab now holds a GPU rendering context, released as soon as you switch away, so the browser's context limit is never reached.
- Invisible input cursor: on a phone the terminal cursor was a one-pixel outline, effectively invisible, leaving you to move it by guesswork → it is now a solid block, and no longer requires focus before it appears.
- Misplaced glyphs: when several terminals shared one glyph atlas, some characters could be drawn at the wrong position after the atlas merged internally (an upstream xterm.js issue).
Changed
- xterm.js upgraded to 6.1.0: includes the upstream fix for the misplaced glyphs above.
Known issues
- This release depends on beta builds of xterm.js (
@xterm/xterm@6.1.0-beta.292,@xterm/addon-webgl@0.20.0-beta.291). The upstream fix for misplaced glyphs exists only on the beta line; the latest stable release (addon-webgl@0.19.0) does not yet contain it. The versions are pinned exactly, so they cannot drift onto unverified builds, and this will move back to the stable line once upstream ships a release containing the fix. - Frontend bundle size grows by roughly 69 KB gzipped as a result.
Upgrade
Tap the update badge in the app, or:
curl -fsSL https://raw.githubusercontent.com/Big-Pony/pocketshell/main/install.sh | shIf installed as a service, restart after upgrading: sudo systemctl restart pocketshell (launchd restarts it automatically on macOS).