# Limit composer mention arrow jumps to adjacent mention boundaries · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/325c0a3687d4dbd6ce536b059c7c2b7ad0c4964a)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 325c0a3687d4dbd6ce536b059c7c2b7ad0c4964a

Requested commit: 325c0a3687d4dbd6ce536b059c7c2b7ad0c4964a

Commit: 325c0a3687d4dbd6ce536b059c7c2b7ad0c4964a

Tree: 8ec47b0f95db2f88d8bce30a1e81ee8448aabe78

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Limit composer mention arrow jumps to adjacent mention boundaries

- Only intercept left/right arrow keys when cursor is directly next to a mention
- Prevent default arrow behavior only for those mention-boundary moves
- Add `isCollapsedCursorAdjacentToMention` logic with coverage for left/right adjacency cases

```

## Parents

- [7c7fcf46c2307a0fa0348d8af9012791eb9ebb2d](https://git.cafe/screen/t3code-personal/commit/7c7fcf46c2307a0fa0348d8af9012791eb9ebb2d?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/325c0a3687d4dbd6ce536b059c7c2b7ad0c4964a?format=markdown)
