You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to stem from the slow computations in the Update method (see artificial 100ms delay), these slow computations should probably handled in a tea.Cmd instead but I find this behavior still weird.
I just did some additional testing and this can also happen with slow View computations.
Setup:
Please complete the following information along with version numbers, if applicable.
Describe the bug:
When I enable
tea.WithMouseCellMotion()
and press my left mouse button and then drag sometimes aKeyMsg
is emitted.Example:
This seems to stem from the slow computations in the
Update
method (see artificial 100ms delay), these slow computations should probably handled in atea.Cmd
instead but I find this behavior still weird.I just did some additional testing and this can also happen with slow
View
computations.Setup:
Please complete the following information along with version numbers, if applicable.
arch
zsh
alacritty
N/A
To Reproduce:
Steps to reproduce the behavior:
go run main.go
tail -f debug.log
tea.KeyMsg
in logsSource Code:
Expected behavior:
No
tea.KeyMsg
being emittedThe text was updated successfully, but these errors were encountered: