Skip to content
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

Support standard mouse interaction like moving cursor on mouse click #3825

Closed
mcarans opened this issue Jul 12, 2021 · 4 comments
Closed

Support standard mouse interaction like moving cursor on mouse click #3825

mcarans opened this issue Jul 12, 2021 · 4 comments

Comments

@mcarans
Copy link

mcarans commented Jul 12, 2021

Is your feature request related to a problem? Please describe.
I would like to be able to use the mouse to click where I want the cursor to be and to use the right click menu to copy and paste as is common in other applications and in terminals on other OSes.

Describe the solution you'd like
Click mouse button, cursor moves to position. Drag to select text, right click, copy.

Describe alternatives you've considered
DomTerm supports using the mouse to move cursor and it is the main reason I use it. Due to limitations with bash readline, the author of DomTerm translates the click position to arrow key presses.

Additional context
Another user also asked about the right click copy paste menu in Kitty here.

@kovidgoyal
Copy link
Owner

You can map the right click action to whatever you like, including
copy/paste https://sw.kovidgoyal.net/kitty/conf.html#mouse-actions

There are going to be no right click menus.

And as for mouse support to move the cursor, use a shell that supports mouse
interaction, such as zsh. https://developpaper.com/tips-using-the-mouse-to-locate-the-cursor-in-zsh-is-simple-and-direct-saves-time-and-improves-the-efficiency-of-command-line-operation/

@mcarans
Copy link
Author

mcarans commented Jul 12, 2021

@kovidgoyal Thanks. I'm aware that it's possible in other shells. I tried raising it on the bash mailing list which seems to be the only way to raise issues against bash that I could find and I got nowhere. It is one of those features which is standard in the terminals/shells of other OSes and makes Linux look a bit dated since bash is the default shell on most distributions.

@kovidgoyal
Copy link
Owner

kovidgoyal commented Jul 12, 2021 via email

kovidgoyal added a commit that referenced this issue Jul 20, 2021
kovidgoyal added a commit that referenced this issue Jul 21, 2021
kovidgoyal added a commit that referenced this issue Jul 22, 2021
kovidgoyal added a commit that referenced this issue Jul 22, 2021
kovidgoyal added a commit that referenced this issue Jul 23, 2021
kovidgoyal added a commit that referenced this issue Jul 23, 2021
kovidgoyal added a commit that referenced this issue Jul 24, 2021
kovidgoyal added a commit that referenced this issue Jul 26, 2021
kovidgoyal added a commit that referenced this issue Jul 26, 2021
kovidgoyal added a commit that referenced this issue Jul 28, 2021
kovidgoyal added a commit that referenced this issue Jul 29, 2021
kovidgoyal added a commit that referenced this issue Jul 31, 2021
kovidgoyal added a commit that referenced this issue Jul 31, 2021
kovidgoyal added a commit that referenced this issue Aug 1, 2021
kovidgoyal added a commit that referenced this issue Aug 4, 2021
kovidgoyal added a commit that referenced this issue Aug 5, 2021
kovidgoyal added a commit that referenced this issue Aug 5, 2021
kovidgoyal added a commit that referenced this issue Aug 5, 2021
kovidgoyal added a commit that referenced this issue Aug 8, 2021
kovidgoyal added a commit that referenced this issue Aug 8, 2021
kovidgoyal added a commit that referenced this issue Aug 8, 2021
kovidgoyal added a commit that referenced this issue Aug 13, 2021
kovidgoyal added a commit that referenced this issue Aug 15, 2021
kovidgoyal added a commit that referenced this issue Aug 16, 2021
kovidgoyal added a commit that referenced this issue Aug 17, 2021
kovidgoyal added a commit that referenced this issue Aug 17, 2021
kovidgoyal added a commit that referenced this issue Aug 18, 2021
@kovidgoyal
Copy link
Owner

This is now implemented, see #3948

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants