Skip to content

Commit 2fbc979

Browse files
committed
Delete 'cursor' from scroll environment. Adjust env multipliers
1 parent c811456 commit 2fbc979

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

cli/src/utils/chat-scroll-accel.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@ const INERTIAL_HINT_VARS = [
1212
'EDITOR',
1313
'ZED_TERM',
1414
'ZED_SHELL',
15-
'CURSOR',
16-
'CURSOR_TERM',
17-
'CURSOR_TERMINAL',
1815
] as const
1916

20-
const ENVIRONMENTS = ['zed', 'cursor', 'ghostty', 'vscode'] as const
17+
const ENVIRONMENTS = ['zed', 'ghostty', 'vscode'] as const
2118

2219
type ScrollEnvironment =
2320
| {
@@ -58,10 +55,9 @@ const resolveScrollEnvironment = (): ScrollEnvironment => {
5855

5956
const ENV_MULTIPLIERS = {
6057
zed: 0.015,
61-
cursor: 0.055,
62-
ghostty: 0.3,
63-
vscode: 0.3,
64-
default: 0.3,
58+
ghostty: 0.2,
59+
vscode: 0.05,
60+
default: 0.05,
6561
} satisfies Record<(typeof ENVIRONMENTS)[number] | 'default', number>
6662

6763
type LinearScrollAccelOptions = {

0 commit comments

Comments
 (0)