Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.5k stars 570 forks source link

Hold modifier key(s) to temporarily toggle sending mouse events #2533

Closed VsevolodGolovanov closed 11 months ago

VsevolodGolovanov commented 1 year ago

Versions

ConEmu build: 221218 stable x64 OS version: Windows 11 Pro 22H2 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): Far 3.0.6161.0 x64

Problem description

With hidden (Ctrl+O) Far panels I want to be able to scroll command output without hovering the scrollbar, because it's too easy to go off it by accident, especially since I have another monitor positioned to the right of the one with ConEmu. And if I go off scrollbar to the left, then it starts going through command history resetting the scroll state to the bottom. Keeping "Send mouse events to console" off at all times doesn't work for me because often I do want it on. I would prefer to keep it on in general, but to be able to disable/toggle it temporarily somehow - ideally by holding a modifier key (or keys) such as Alt, and then I could scroll while holding it.

I guess alternatively it could also be a hotkey to toggle "Send mouse events to console", but that would be much less convenient since I won't be able to see the current state of this option.

Maximus5 commented 11 months ago

Your question is related to Far Manager, not ConEmu. It's better to ask in the Far Manager forum.

If I understand your question correctly, would you like Far to skip all mouse events when Panels are off? If so, just create Far Macros with the condition "panels are off".

I would not implement anything related to toggling "Send mouse events to console," as I don't see any reason for it now. Your request is already manageable with Far Macros.