We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef88db0 commit 03ce6b4Copy full SHA for 03ce6b4
1 file changed
cli/src/utils/chat-scroll-accel.ts
@@ -20,7 +20,7 @@ type ScrollEnvironmentType = (typeof ENVIRONMENTS)[number] | 'default'
20
21
const ENV_MULTIPLIERS = {
22
zed: 0.015,
23
- ghostty: 0.2,
+ ghostty: 0.15,
24
vscode: 0.05,
25
default: 0.05,
26
} satisfies Record<ScrollEnvironmentType, number>
@@ -106,7 +106,7 @@ export class QuadraticScrollAccel implements ScrollAcceleration {
106
private buffer: number
107
108
constructor(private opts: QuadraticScrollAccelOptions = {}) {
109
- this.rollingWindowMs = opts.rollingWindowMs ?? 50
+ this.rollingWindowMs = opts.rollingWindowMs ?? 100
110
this.multiplier = opts.multiplier ?? 0.3
111
this.maxRows = opts.maxRows ?? Infinity
112
this.tickHistory = new Queue<number>(undefined, 100)
0 commit comments