Mouse pointer #271

Open
opened 2015-12-28 19:40:45 +01:00 by grayed · 8 comments
grayed commented 2015-12-28 19:40:45 +01:00 (Migrated from github.com)

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).
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. ## <bountysource-plugin> --- 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). </bountysource-plugin>
YPetremann commented 2016-03-12 00:17:32 +01:00 (Migrated from github.com)

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.

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.
antanst commented 2017-05-22 19:22:26 +02:00 (Migrated from github.com)

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.

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.
indfnzo commented 2018-06-20 03:53:42 +02:00 (Migrated from github.com)

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

This would be a great addition to the experience. Just basic functionality as @antanst describes would work.
indfnzo commented 2018-06-20 11:03:58 +02:00 (Migrated from github.com)

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

As an alternative, I use [xbanish](https://github.com/jcs/xbanish) to have this behavior globally (not sure if it would work on macOS).
pazos commented 2018-07-13 05:00:48 +02:00 (Migrated from github.com)

+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

+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
dessalines commented 2019-05-10 04:58:53 +02:00 (Migrated from github.com)

Bump, this would be a great feature to add.

Bump, this would be a great feature to add.
swittk commented 2020-09-12 11:52:57 +02:00 (Migrated from github.com)

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

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
ghost commented 2023-07-12 09:20:55 +02:00 (Migrated from github.com)

bump :c

bump :c
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#271
No description provided.