kai-morich / SimpleBluetoothLeTerminal

Android terminal app for Bluetooth LE devices using custom serial profiles
MIT License
288 stars 111 forks source link

ANSI/VT100 terminal color support #21

Open lukasnee opened 3 years ago

lukasnee commented 3 years ago

would be so nice to support some of the basic terminal colors, or at least an option to hide (do not print out) escape sequences from rx stream.

When I receive something like this:

FIB> help

Hello World! 51
FAIL: ‑2

I am expecting to see (colored or not):

FIB> help 

Hello World! 51
FAIL: -2

note. the  is ASCII escape symbol 033 aka \e

nice article if unfamiliar: https://misc.flogisoft.com/bash/tip_colors_and_formatting

would love to contribute myself, but I have no experience with java or mobile app development :/

super nice app tho! love it