question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Out-ConsoleGridView doesn't handle ANSI escape sequences correctly

See original GitHub issue

It appears that gui.cs may not support rendering ANSI escape sequences. In the meantime, if using pwsh 7.2+, Out-ConsoleGridView should use StringDecorated type to make sure all text is plain text.

https://twitter.com/Jaykul/status/1339064642715398150

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
tigcommented, Aug 3, 2022

Confimed fixed in the code currently in master:

image
0reactions
SteveL-MSFTcommented, Aug 8, 2022

This fix should be in the release this month

Read more comments on GitHub >

github_iconTop Results From Across the Web

ANSI escape code not working properly [C++]
Possible answer on sister site: Windows console with ANSI colors handling (not 100% sure if this applies to powershell as well, or only...
Read more >
Inconsistent ANSI escape code handling on Windows 10
The correct handling of ANSI escape codes by the print() function may or may not be enabled in the Windows 10 command prompt...
Read more >
ircII ansi escape sequences
I'm trying to get VT100/ANSI escape codes working in an irc client (ircII). What facilitates this, is the screen.scr file.
Read more >
Ability to see ANSI-style escape color codes in Build Log
TW-62478 Rendering ANSI color escape sequences for highlighting build problems and failed tests in Overview and Build Log pages.
Read more >
ANSI escape code
ANSI escape sequences are a standard for in-band signaling to control cursor location, color, font styling, and other options on video text terminals...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found