# workspace: Handle non-cloneable items better \(\#41215\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fd3ca0303ff1dfc552119878724eb151bc94b49c

Requested commit: fd3ca0303ff1dfc552119878724eb151bc94b49c

Commit: fd3ca0303ff1dfc552119878724eb151bc94b49c

Tree: 08e7c4c3a99e71bc9496158235291b319c9d8428

Author: Lukas Wirth

Committer: GitHub

## Message

```
workspace: Handle non-cloneable items better (#41215)

When trying to split and clone a non clone-able workspace item we now
attempt split and move instead of doing nothing. Additionally we disable
the split menu buttons if we can't split the active item at all.

Release Notes:

- Improved handling of unsplittable panes
```

## Parents

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

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