@aurigax-ai/ghostty-web 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/input-handler.ts +2 -0
- package/lib/terminal.ts +1 -1
- package/package.json +1 -1
package/lib/input-handler.ts
CHANGED
package/lib/terminal.ts
CHANGED
|
@@ -1258,7 +1258,7 @@ export class Terminal implements ITerminalCore {
|
|
|
1258
1258
|
const absDistance = Math.abs(distance);
|
|
1259
1259
|
|
|
1260
1260
|
// If very close, snap to target
|
|
1261
|
-
if (absDistance < 0.01) {
|
|
1261
|
+
if (absDistance < 0.01 || duration <= 0) {
|
|
1262
1262
|
this.viewportY = this.targetViewportY;
|
|
1263
1263
|
this.fireScroll();
|
|
1264
1264
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurigax-ai/ghostty-web",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"description": "Ghostty's terminal engine (libghostty-vt) in the browser: WebAssembly build, an xterm.js-shaped API and WebGL and canvas renderers. A hard fork of coder/ghostty-web.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.ts",
|