bubbletea
bubbletea copied to clipboard
Mouse scroll doesn't work in foot terminal
In the foot terminal mouse scroll events aren't triggered at all (though other mouse events trigger okay). Mouse scrolling works in other terminals such as alacritty so I don't think the issue is with my code, and other programs such as htop have working mouse scrolling support in foot making me think the issue is on bubbletea's side
Hi, and thanks for the report. Are you using the Cell Motion or All Motion mouse modes? Generally-speaking, Cell Motion is generally more widely supported.
Editor’s note
Based on what I'm reading in the Foot source code it appears that Foot supports both, however I haven’t yet ascertained the details of the implementations.https://gitlab.com/dnkl/foot/-/blob/master/csi.c#L421
Cell motion, though I also have tried all motion and that doesnt work either
I'm able to detect mouse wheel events when running the mouse example in Foot.
Perhaps the issue is in your code? I'd be happy to take a look if you'd like.
Sure, the code in question is here, I just assumed the code was fine because it was quite simple and works in every other terminal I have tried :P
Hey @ibrokemypie please let us know if this is still an issue for you otherwise I'll close this issue
I can't reproduce this (at least anymore) in foot. Closing, but feel free to comment if this is still an issue for you.