adamyg / mcwin32

Midnight Commander for Windows
https://sourceforge.net/projects/mcwin32/
204 stars 13 forks source link

Shift + arrow up/down does not select element #82

Open fekir opened 4 months ago

fekir commented 4 months ago

In Midnight Commander it is possible to select one or multiple by pressing Shift+arrow up or shift+arrow down.

In mcwin32 (on Windows 10, from powershell, cmd and by invoking mc.exe from explorer.exe) this keyboard combination does not work, no element gets selected.

It should be possible to implement it correctly, the native command line manager far is able to sleect multiple entries with this key combinations.

Another keybinding for selecting multiple elements is using the Insrt key, it is normally equivalent to shift+arrow down. This keybinding works as expected.

adamyg commented 4 months ago

Shall check, yet believe these keys are consumed/utilized by the console for text selection; mc wont receive, effects of the default console mode ENABLE_PROCESSED_INPUT. Run a console (cmd or powershell) without mc, and shift-arrow's can he utilized for text selection. Disabling ENABLE_PROCESSED_INPUT has other side-effects; unsure about changing.