InquirerPy icon indicating copy to clipboard operation
InquirerPy copied to clipboard

On windows I cannot scroll.

Open restockflippaz opened this issue 4 years ago • 4 comments

I can scroll through a list on mac, but not on windows.

react = [ inquirer.List('REACT', message="REACT TO MESSAGE?", choices=['YES', 'NO'], ), ] reaction = inquirer.prompt(react)

restockflippaz avatar Feb 01 '22 22:02 restockflippaz

Hi @restockflippaz ,

I'm able to scroll on windows using Alacritty as the terminal and also the default PowerShell terminal. Could you give it a shot in another terminal and perhaps it could also be affected by the PowerShell version you are on?

I'm not able to provide much help besides these as I personally don't really use windows. But for the information, the scrolling is working on Alacritty and Windows PowerShell with version 5.1 and Windows 10.

Thanks

kazhala avatar Feb 01 '22 23:02 kazhala

Could you share which terminal and PowerShell version? If its a limitation I'll note it in doc. Thanks

kazhala avatar Feb 01 '22 23:02 kazhala

its normal cmd on windows 10

restockflippaz avatar Feb 01 '22 23:02 restockflippaz

Could you give it a try in powershell then? I'll note the cmd support in doc, the scrolling is directly controlled via upstream package prompt-toolkit which in this case, most likely doesn't work well in cmd.

kazhala avatar Feb 02 '22 00:02 kazhala