cool-retro-term icon indicating copy to clipboard operation
cool-retro-term copied to clipboard

Mouse pointer

Open grayed opened this issue 9 years ago • 8 comments

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.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29443145-mouse-pointer?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github).

grayed avatar Dec 28 '15 18:12 grayed

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.

YPetremann avatar Mar 11 '16 23:03 YPetremann

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.

antanst avatar May 22 '17 17:05 antanst

This would be a great addition to the experience. Just basic functionality as @antanst describes would work.

indfnzo avatar Jun 20 '18 01:06 indfnzo

As an alternative, I use xbanish to have this behavior globally (not sure if it would work on macOS).

indfnzo avatar Jun 20 '18 09:06 indfnzo

+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

pazos avatar Jul 13 '18 03:07 pazos

Bump, this would be a great feature to add.

dessalines avatar May 10 '19 02:05 dessalines

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

swittk avatar Sep 12 '20 09:09 swittk

bump :c

ghost avatar Jul 12 '23 07:07 ghost