# Disrupt blink for immediate feedback on cursor shape changes \(\#14177\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3541a1175ff30dc40701b5df28e6c32b44fd1cea)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3541a1175ff30dc40701b5df28e6c32b44fd1cea

Requested commit: 3541a1175ff30dc40701b5df28e6c32b44fd1cea

Commit: 3541a1175ff30dc40701b5df28e6c32b44fd1cea

Tree: 3994136f1a42e16b748525c20a88920baf46455e

Author: Omer Tuchfeld

Committer: GitHub

## Message

```
Disrupt blink for immediate feedback on cursor shape changes (#14177)

# Issue

When a user does something that changes the cursor shape, such as when
switching between vim modes, there may be an up to 500ms (cursor blink
interval) delay until the user receives feedback for their action. This
happens when the shape change happens during the invisible phase of a
blink - the user will not see the cursor shape change until the next
phase, which could be 500ms away.

# Solution

Cursor shape changes should disrupt blinking by forcing the cursor to be
shown, this results in immediate feedback for shape changes. This is in
line with the behavior of other editors I've tried.

Release Notes:

- Improved visual feedback when changing cursor shape
```

## Parents

- [e51d469025c8b0db79f858d891f56a69f1fc22b7](https://git.cafe/gitcafe/zed/commit/e51d469025c8b0db79f858d891f56a69f1fc22b7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3541a1175ff30dc40701b5df28e6c32b44fd1cea?format=markdown)
