walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
675 stars 19 forks source link

Windows version behaves strangely #227

Closed steviator closed 3 months ago

steviator commented 4 months ago

Using the latest release 1.25.1 on Windows 10 v. 22H2 (Build 19045.4651), moar is unable to scroll using the keyboard. Any keypress seems to send moar back to the top of the document, while scrolling with the mouse works normally.

This happens with conhost and Windows Terminal (v.1.20.11781.0), as well as Konsole on Linux, so it seems likely to be a bug in moar and not in any particular terminal emulator.

I would very much like to be able to use moar on Windows as it seems to be the only program of its type available for Windows apart from the original more.exe. If it worked, obviously moar would be absolute best in class for applications of this type.

walles commented 4 months ago

Can you:

If you can't modify moar's command line, you can put MOAR=--trace in the environment.

walles commented 3 months ago

The only way for me to work on this @steviator would be to get the --trace output.

I have tried to reproduce this but failed. The --trace output is likely to tell me what's going on.

walles commented 3 months ago

Please reopen if you can get --trace output @steviator.

I cannot come up with any other way for me to troubleshoot this.