You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should simply use combination of ENABLE_QUICK_EDIT_MODE and ENABLE_EXTENDED_FLAGS to disable/restore it if mouse is requested via terminals trackMouse function.
The text was updated successfully, but these errors were encountered:
jvalkeal
added a commit
to jvalkeal/jline3
that referenced
this issue
Apr 17, 2024
- On windows disable quick edit mode if mouse support
is requested which allows mouse events to
get propagated automatically.
- There's no explicit revert for this as it seems
to get done automatically.
- Without this user would need to know that quick edit
needs to be disabled which is awkward in conhost
and even more difficult with new windows terminal
which doesn't even directly expose these settings
in the UI.
- Fixesjline#964
- On windows disable quick edit mode if mouse support
is requested which allows mouse events to
get propagated automatically.
- There's no explicit revert for this as it seems
to get done automatically.
- Without this user would need to know that quick edit
needs to be disabled which is awkward in conhost
and even more difficult with new windows terminal
which doesn't even directly expose these settings
in the UI.
- Fixes#964
This is a windows conhost(good 'ol plain cmd) related annoyance where mouse events are not sent if
Quick Edit Mode
is enabled(as it is by default). This is more clearly discussed in https://stackoverflow.com/questions/46795072/how-to-get-mouse-input-inside-a-c-console-program-on-windows-10/46802726#46802726.We should simply use combination of
ENABLE_QUICK_EDIT_MODE
andENABLE_EXTENDED_FLAGS
to disable/restore it if mouse is requested via terminalstrackMouse
function.The text was updated successfully, but these errors were encountered: