Text selection and better mouse support
Just a few QOL improvements to the prompt editor and session picker for the weekend!
Text selection
Hold shift and use the arrow keys or click and drag with your mouse to select text in the prompt editor. From there, you can use any of the fancy new shortcuts 👀
- ctrl+shift+a selects everything
- ctrl+shift+c copies the selection
- ctrl+shift+x cuts the selection
- ctrl+shift+v pastes text
Typing or pasting over selected text replaces it.
crush_selection.mp4
Mouse support in the session picker
We've been missing mouse support in the session picker for too long! You can now scroll through sessions with the mouse wheel, click an entry to select it, or double-click to open it.
crush_mouse-session-picker.mp4
A small Windows fix
Pressing a modifier key by itself could send some dialogs back to the top on Windows. They should stay put now.
Keep crushing!
Charm 💌
Changelog
New!
- 08552fb: feat: textarea selection (#3507) (@andrinoff)
- 90bc466: session picker: add mouse support (@Amolith)
Fixed
- 8661a1c: fix(windows): scrolling up on modifier keys alone (#3598) (@andrinoff)
Other stuff
- 37f36e9: chore: auto-update files (@charmcli)
- 7d78d74: chore: standardize go toolchain on v1.26.6 (#3592) (@aleksclark)
Verifying the artifacts
First, download the checksums.txt file and the checksums.txt.sigstore.json file files, for example, with wget:
wget 'https://github.com/charmbracelet/crush/releases/download/v0.91.0/checksums.txt'
wget 'https://github.com/charmbracelet/crush/releases/download/v0.91.0/checksums.txt.sigstore.json'Then, verify it using cosign:
cosign verify-blob \
--certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
--bundle 'checksums.txt.sigstore.json' \
./checksums.txtIf the output is Verified OK, you can safely use it to verify the checksums of other artifacts you downloaded from the release using sha256sum:
sha256sum --ignore-missing -c checksums.txtDone! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.