You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#767
Kitty needs to the terminal emulator's cursor to be visible so that it
doesnt prompt you when you close the window.
But if you use the flyline cursor backend, we hide the terminal
emulator's cursor so that we can draw cool cursors.
Other term ems don't seem to set this.
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -473,6 +473,13 @@ flyline set-cursor --help
473
473
```
474
474
475
475
# Terminal emulator notes
476
+
## Kitty:
477
+
When running inside Kitty, it is highly recommended to use the terminal cursor backend:
478
+
```bash
479
+
flyline set-cursor --backend terminal
480
+
```
481
+
By default, Flyline detects if it is running in Kitty and defaults to the `terminal` backend. Using the custom `flyline` cursor backend inside Kitty hides the terminal's native hardware cursor, which prevents Kitty from detecting shell prompts, causing it to ask for confirmation when closing the terminal window.
482
+
476
483
## VS Code:
477
484
Recommended settings
478
485
-[`terminal.integrated.minimumContrastRatio = 1`](vscode://settings/terminal.integrated.minimumContrastRatio) to prevent the cell's foreground colour changing when it's under the cursor.
"⚠ Warning: You are running Kitty. The custom `flyline` cursor backend hides the terminal's native cursor, which stops Kitty from detecting prompt states and prompts you on exit. It is highly recommended to use the `terminal` backend instead.",
0 commit comments