From 3d7f1f8a73135802a09b6127760f6ffd5ed9f24d Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Tue, 17 Jun 2025 14:20:27 +0800 Subject: [PATCH] input: Keep showing the blink cursor when typing or moving. (#967) https://github.com/user-attachments/assets/3b7d2cfd-50b0-4744-bb74-1deafc5710e3 --- crates/ui/src/input/blink_cursor.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ui/src/input/blink_cursor.rs b/crates/ui/src/input/blink_cursor.rs index 18bc8979..eb5ea881 100644 --- a/crates/ui/src/input/blink_cursor.rs +++ b/crates/ui/src/input/blink_cursor.rs @@ -44,6 +44,7 @@ impl BlinkCursor { fn blink(&mut self, epoch: usize, cx: &mut Context) { if self.paused || epoch != self.epoch { + self.visible = true; return; }