Describe the bug
shift+space is only reported on KeyRelease
Setup
- macOS,
zsh
kitty, Ghostty, osx terminal
- Terminal Multiplexer: none
To Reproduce
git clone https://github.com/charmbracelet/bubbletea.git
cd bubbletea
go get charm.land/lipgloss/v2
go run examples/keyboard-enhancements/main.go
- Hold down
shift and press space
I see this across terminals and in my apps and other test harnesses... only release is triggered.
press: space
release: shift+space
press: space
release: shift+space
press: space
release: shift+space
press: space
release: shift+space
Terminal supports key releases: true
Terminal supports key disambiguation: true
This demo logs key events. Press ctrl+c to quit.
Source Code
The bundled examples/keyboard-enhancements/main.go can be used.
Expected behavior
press: space
release: shift+space
Screenshots
N/A
Additional context
N/A
Describe the bug
shift+spaceis only reported onKeyReleaseSetup
zshkitty,Ghostty, osxterminalTo Reproduce
git clone https://github.com/charmbracelet/bubbletea.gitcd bubbleteago get charm.land/lipgloss/v2go run examples/keyboard-enhancements/main.goshiftand pressspaceI see this across terminals and in my apps and other test harnesses... only release is triggered.
Source Code
The bundled
examples/keyboard-enhancements/main.gocan be used.Expected behavior
Screenshots
N/A
Additional context
N/A