FarManager: AutoComplete popup does not show under Windows 10's Terminal
I compiled Far Manager and see what’s different in Terminal. In EditControl::AutoCompleteProc
console.GetNumberOfInputEvents
sets EventsCount
to 1 and skips the whole function because of it. If I just change the value to 0 after a break point, it continues normally and I can see the popup.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (5 by maintainers)
Just found this gem in Terminal’s code:
@DHowett , I think this might be the cause:
Please take this tool - readkey.zip - and do the following under both conhost and terminal:
Conhost:
Terminal:
I.e. terminal reports paired false “Up” events even though the key stays down.
This quick workaround seems to work.
In
EditControl::AutoCompleteProc
, just afterconsole.GetNumberOfInputEvents
.