-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse input in the Linux console #1468
Comments
Glad you like Textual. It should be possible to make Textual work under the Linux console. It may be that We will look in to it! |
BTW I stumbled upon a workaround by using LCXterm which, among other things, converts GPM mouse events into the X10 mouse protocol. |
From what I've been able to find gpm does not provide mouse events via escape codes at all, but rather requires applications to explicitly connect to the gpm daemon via a unix domain socket and read the mouse events from there. See
|
First off, amazing library and thanks for creating this.
Have you checked closed issues? https://github.com/Textualize/textual/issues?q=is%3Aissue+is%3Aclosed
Yes
Please give a brief but clear explanation of the issue.
Can Textual handle mouse input in the Linux console, i.e. without X Windows? I tried using
gpm
but mouse input is ignored.What Operating System are you running on?
Debian Bullseye 32-bit (Raspbian) on a Raspberry Pi 4
Feel free to add screenshots and/or videos. These can be very helpful!
If you can, include a complete working example that demonstrates the bug. Check it can run without modifications.
I'm testing with the sample app
python -m textual
The text was updated successfully, but these errors were encountered: