Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One solution is to convert them to caret notation before printing.

I have a demo here: https://github.com/wunderwuzzi23/terminal-dillma/blob/main/d...

It's like cat -v, which shows non-printable characters rather then allowing them to be interpreted by a terminal.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: