# Skip adding initial \`1:1\` cursor position to selection history \(\#32432\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6070aea6c094a4fb6056785002923d119e5ce2a0

Requested commit: 6070aea6c094a4fb6056785002923d119e5ce2a0

Commit: 6070aea6c094a4fb6056785002923d119e5ce2a0

Tree: 40f05f41d33b989fbe83a06ead53b7252aa9b4a4

Author: Michael Sloan

Committer: GitHub

## Message

```
Skip adding initial `1:1` cursor position to selection history (#32432)

Also improves some minor corner cases in `undo_selection` and
`redo_selection` related to the use of `end_selection`. If the pending
selection was ended, this would separately get pushed to the redo or
undo stack and redundantly run all the other effects of selection
change.

Release Notes:

- N/A
```

## Parents

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

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