mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-24 15:42:53 +00:00
Show the cursor right away when opening opening/focusing editors
This commit is contained in:
parent
5bcf9916c9
commit
aec8aec800
1 changed files with 3 additions and 0 deletions
|
@ -93,6 +93,9 @@ impl BlinkManager {
|
|||
|
||||
pub fn enable(&mut self, cx: &mut ModelContext<Self>) {
|
||||
self.enabled = true;
|
||||
// Set cursors as invisible and start blinking: this causes cursors
|
||||
// to be visible during the next render.
|
||||
self.visible = false;
|
||||
self.blink_cursors(self.blink_epoch, cx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue