last time I checked, adb logcat didn’t filter escape codes - fun way of sending android developers colorful messages.
I remember finding a bug like this in Apple Terminal; I ended up writing a blog post about it for my employer at the time:
https://web-beta.archive.org/web/20090625043244/http://dvlabs.tippingpoint.com:80/blog/2009/06/05/whats-worse-than-finding-a-bug-in-your-apple
(Search for TPTI-09-04 on that page if you want to skip past the unrelated intro.)
I wish escape sequences to be simpler. What do we need more than this:
\033[*m
\033[K
\033[J
\r
\033[*H
\n
\033D
\033M
Everything else can be done by combinig these and printing again.
http://ascii-table.com/ansi-escape-sequences-vt-100.php
last time I checked, adb logcat didn’t filter escape codes - fun way of sending android developers colorful messages.
I remember finding a bug like this in Apple Terminal; I ended up writing a blog post about it for my employer at the time:
https://web-beta.archive.org/web/20090625043244/http://dvlabs.tippingpoint.com:80/blog/2009/06/05/whats-worse-than-finding-a-bug-in-your-apple
(Search for TPTI-09-04 on that page if you want to skip past the unrelated intro.)
I wish escape sequences to be simpler. What do we need more than this:
\033[*m- colour, boldness, reverse video\033[K,\033[J- clear the screen or a line.\r,\033[*H- put the cursor at some position\n,\033D,\033M- scroll up and down one line.Everything else can be done by combinig these and printing again.
http://ascii-table.com/ansi-escape-sequences-vt-100.php