shot icon indicating copy to clipboard operation
shot copied to clipboard

Console output seems to be buggy on Windows

Open ghost opened this issue 8 years ago • 2 comments

I can't get the tool's help output to show:

image

Curiously, it works, when I pipe the output to tee (from GNU shellutils):

image

OS is Windows 8.1

ghost avatar Oct 05 '17 12:10 ghost

Windows sucks: https://github.com/mpv-player/mpv/wiki/FAQ#On_Windows_why_does_mpvexe_not_attach_to_the_console_and_what_does_mpvcom_do

shot needs to be a GUI program because of the interactive region picker. If it was a console program you'd get a blank ugly console window every time you run it with -i.

The solution would be to split the program into two programs: GUI region picker and CLI frontend but this sucks even more.

Cygwin gets this right, so maybe WSL does too?

rr- avatar Oct 05 '17 12:10 rr-

Thanks for explaining!

Another workaround would be to show a simple dialog with the help text, e.g. DiffMerge does it this way:

image

But of course - since there's quite a lot of text - it'd probably need some scrollable textarea...

zebster226 avatar Oct 06 '17 10:10 zebster226