Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STDLogSink fails to correctly get terminal width under MINGW64 because it's not a standard Windows terminal #9

Open
attie opened this issue Nov 14, 2020 · 1 comment

Comments

@attie
Copy link

attie commented Nov 14, 2020

The output of glscopeclient.exe on Windows started from a MINGW64 shell, appears to be wrapped to 1 (or possibly 0) columns, as shown below.

image

The current expectation is that GetConsoleScreenBufferInfo() fails, here.

@azonenberg azonenberg changed the title Output warps to 1-col on Windows STDLogSink fails to correctly get terminal width under MINGW64 because it's not a standard Windows terminal Nov 14, 2020
@attie
Copy link
Author

attie commented Nov 14, 2020

I've tried STD_INPUT_HANDLE in place of STD_OUTPUT_HANDLE, with no luck:

Attie@pongo MINGW64 /z/proj/scopehal/scopehal-apps/build
$ glscopeclient.exe scope:agilent:lan:scope.attie.co.uk:5025
GetConsoleScreenBufferInfo() failed (6);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant