# refactor\(web\): composer key handling lives in useComposerCommandKey · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/c59c78e7b187b19a88634920f0d19d70270b90ff)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: c59c78e7b187b19a88634920f0d19d70270b90ff

Requested commit: c59c78e7b187b19a88634920f0d19d70270b90ff

Commit: c59c78e7b187b19a88634920f0d19d70270b90ff

Tree: 890d71ace26137e687fe83925c345b18d53b7d4d

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
refactor(web): composer key handling lives in useComposerCommandKey

Moves the editor key handler (send shortcuts, menu navigation, prompt
history, plan toggle, list continuation) out of the composer body, and
the trailing-space range helper into composer-logic with a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [959fea314650da81769dde58c4b89b77ffeada8f](https://git.cafe/pingdotgg/t3code/commit/959fea314650da81769dde58c4b89b77ffeada8f?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/c59c78e7b187b19a88634920f0d19d70270b90ff?format=markdown)
