We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b76f3 commit 9f1d5c1Copy full SHA for 9f1d5c1
src/components/BlinkCaret.tsx
@@ -19,6 +19,14 @@ export const BlinkCaret: React.FC<BlinkCaretProps> = ({
19
useEffect(() => {
20
if (!enabled) return
21
22
+ const isGhostty = process.env.TERM_PROGRAM === "ghostty"
23
+
24
+ if (isGhostty) {
25
+ // Disable blinking in Ghostty to avoid scroll position reset bug
26
+ setVisible(enabled)
27
+ return
28
+ }
29
30
const refreshInterval = setInterval(() => {
31
setVisible((v) => !v)
32
}, interval)
0 commit comments