-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win32: disable quickedit mode when enabling mouse support
The Windows conpty layer now allows terminal emulators other than the classic conhost.exe to host win32 console applications that use mouse events. For mouse events to function correctly, mouse input needs to be enabled and quick edit mode needs to be disabled. This commit teaches vim to make this change when it enables mouse mode. I have no special knowledge of vim, and this patch is roughly based on the suggested changes in this discussion: https://groups.google.com/g/vim_dev/c/bQ7jfMwa8Zg The intent is to enable mouse input and disable quickedit when enabling mouse mode, and to disable mouse input and restore the prior quickedit mode state when mouse mode is disabled. refs: microsoft/terminal#9970
- Loading branch information
Showing
1 changed file
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters