()
| 140 | * disables alt-screen and virtualized scrollback. |
| 141 | */ |
| 142 | export function isMouseTrackingEnabled(): boolean { |
| 143 | return !isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_MOUSE) |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * Whether mouse click handling is disabled (clicks/drags ignored, wheel still |