question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Option to disable alt-click move cursor to position behavior

See original GitHub issue

Hi all,

I’ve been running into an issue that I don’t see reported yet in this repo, so I’d like to bring it up.

The issue is described here: https://github.com/microsoft/vscode/issues/101136. When alt-clicking in the vscode terminal, if the program doesn’t support (something), the screen can fill up with “^[[D” or “^[[C” characters.

Here’s a screenshot: image

In the above vscode issue, @Tyriar linked this PR: https://github.com/xtermjs/xterm.js/pull/896 which seems to have added the alt-click feature. There’s apparently no way to disable it, and there’s no workaround.

Changing the "editor.multiCursorModifier" setting was suggested as a workaround, but it didn’t work for me.

Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
awmottazcommented, Nov 21, 2020

I will take a crack at it

2reactions
mofuxcommented, Nov 19, 2020

As stated above, we (the maintainers) would be happy to accept a PR from the community that makes this behaviour configurable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Prevent Cursor From Moving When Pressing Direction Keys ...
Prevent Cursor From Moving When Pressing Direction Keys Windows 10 [Tutorial]If the user has not enabled Mouse Keys, then the mouse cursor ......
Read more >
vim windows - How to disable moving the cursor with the mouse
Here's a heavy solution: nnoremap <LeftMouse> ma<LeftMouse>`a. It will let the click go through (thus changing the focus), but make sure the ...
Read more >
How can I disable 'Alt' + mouse default behavior in KDE?
In case someone is searching the setting: Start "System Settings", then look at Workspace->Window Managment->Window Behavior->Window Actions-> ...
Read more >
How do I remap the `Alt+Click` action in visual studio code?
The easiest way in my opinion is: From the top-level menu, click on. Selection -> Switch to Ctrl + Click for Multi-Cursor.
Read more >
How do I disable window move with alt + left mouse button in ...
7 Answers 7 · Go to System Settings · Select Keyboard · On the bottom left click on 'Layout Settings' · Select your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found