cool-retro-term
cool-retro-term copied to clipboard
Mouse pointer
While the terminal emulator itself is very, very cool, the only little thing that breaks the whole is mouse pointer. Could it be hidden, at least, in full screen mode? Like mpv does it, for example.
I would suggest that a mouse cursor would still be availlable but rendered inside the terminal, like when we use gpm, so it would not break the trip.
IMHO the best solutions is to hide the mouse as soon as a key is pressed, and show the cursor as soon as the mouse is moved. This is the behaviour with macOS's terminal for example.
This would be a great addition to the experience. Just basic functionality as @antanst describes would work.
As an alternative, I use xbanish to have this behavior globally (not sure if it would work on macOS).
+1 for this. Can be done without much trouble once we filter QKeyEvents & QMouseEvents.
Just need to set a timer to show the cursor again after a few seconds until the last key was released (and no key pressed). For mouse events the contrary: (hide the cursor after a few seconds if no QMouseEvent and display on change)
Make it configurable would be awesome
Bump, this would be a great feature to add.
I tried a bit of tinkering around and got the cursor hiding behavior working.
https://github.com/swittk/cool-retro-term/tree/CursorHide
Currently I've set it to hide after a bit of delay, but I guess I could change it to when keyboard input is detected.
Here's a prebuilt one in case anyone wants to try. https://drive.google.com/file/d/1nsVkvM81fZ7zpvpUVMZFcEoLHOY_Rg38/view?usp=sharing
bump :c