mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-27 16:17:31 -04:00
ADSB position decoding
Date and time string format function Binary update
This commit is contained in:
parent
9d902bc224
commit
2628f9c03d
15 changed files with 255 additions and 108 deletions
|
@ -546,12 +546,7 @@ void Console::write(std::string message) {
|
|||
|
||||
for (const auto c : message) {
|
||||
if (escape) {
|
||||
if (c == '\x01')
|
||||
pen_color = ui::Color::red();
|
||||
else if (c == '\x02')
|
||||
pen_color = ui::Color::green();
|
||||
else if (c == '\x03')
|
||||
pen_color = ui::Color::blue();
|
||||
pen_color = term_colors[c & 7];
|
||||
escape = false;
|
||||
} else {
|
||||
if (c == '\n') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue