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

Hugo prints escape chars when running in Windows shell #5377

athanp opened this Issue Oct 29, 2018 · 1 comment


3 participants

athanp commented Oct 29, 2018

When Hugo runs under Windows 10 powershell (or legacy command shell) it prints non sense ANSI escape sequences before and after "Building sites" message

e[K25lBuilding sites … e[?25h

@bep bep added this to the v0.51 milestone Oct 29, 2018

@bep bep added the Bug label Oct 29, 2018


This comment has been minimized.


GregorioMartinez commented Oct 31, 2018

Since Windows 10.1607 it looks like we need to set ENABLE_VIRTUAL_TERMINAL_PROCESSING using SetConsoleMode if we want ANSI support.

Previous builds had it enabled by default (Windows 10.1511) and older versions did not support it.

Here is some of the docs I found on this:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment