Comment 2 for bug 1769676

Revision history for this message
StarBrilliant (m13253) wrote :

One possible solution is to issue an ANSI escape sequence "\x1b[4G" immediately after the logo is print, to reset the cursor position. (4 is the horizontal coordinate, you can change it accordingly.)

In case icon font is not installed or Unicode support is broken (Windows console renders any Unicode codepoint beyond U+FFFF as two broken characters, no matter in which code page, even with latest Windows 10), the cursor still gets reset to the correct position so no line wrap would happen.