from prompt_toolkit.shortcuts import radiolist_dialog
radiolist_dialog(
values=[(i, str(i)) for i in range(5)],
).run()
Runs well in a WSL session running in the 'Windows console Host' terminal. However the same program running in the 'Windows Terminal' terminal does not accept arrow key inputs. The mouse does work in both environments, as does the tab key and normal typing.
You can choose which terminal WSL opens with by searching 'Terminal' in your settings and overriding 'Let windows decide'.
running showkey and pressing arrow buttons gives me identical results for both environments, so I'm not sure what is causing this:
Aha, the arrow keys are being registered, the highlight is just not displaying. On the working terminals I see a blinking _ shape, on windows Terminal I see nothing, any suggestions ?
This script:
Runs well in a WSL session running in the 'Windows console Host' terminal. However the same program running in the 'Windows Terminal' terminal does not accept arrow key inputs. The mouse does work in both environments, as does the tab key and normal typing.
You can choose which terminal WSL opens with by searching 'Terminal' in your settings and overriding 'Let windows decide'.
running
showkey
and pressing arrow buttons gives me identical results for both environments, so I'm not sure what is causing this: