Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1689

Fix 95% of ANSI / emoji rendering glitches + CONTEST: fastest cat.exe

$
0
0
ANSI rendering is HORRIBLY inconsistent.

Easiest way to fix it? Pipe through cat.exe

Say you have this command, but the rendering glitches out 1 out of 5 times:
Code:
echo y | a.bat |:u8 a_python_script.py

rem (Try to use |:u8 pipe for anything with emoji)
rem (But not neessary when just echo'ing a 'y')


Simple fix: You just pipe it through the unix 'cat' command. Which for me was cygwin's cat.exe.

Code:
(echo y | a.bat |:u8 a_python_script.py) |:u8 cat.exe
rem the parens can be quite...

Read more

Viewing all articles
Browse latest Browse all 1689

Trending Articles