diff --git a/dump1090/anet.o b/dump1090/anet.o index 4b4f362..78e8fd7 100644 Binary files a/dump1090/anet.o and b/dump1090/anet.o differ diff --git a/dump1090/dump1090.REMOVED.git-id b/dump1090/dump1090.REMOVED.git-id index 8a50246..bcf1952 100644 --- a/dump1090/dump1090.REMOVED.git-id +++ b/dump1090/dump1090.REMOVED.git-id @@ -1 +1 @@ -6f6bc86677ae1f1852853f24130b9039e026b7bc \ No newline at end of file +6e78e92e9261a1c1a12064288f64a1786a246ec6 \ No newline at end of file diff --git a/dump1090/dump1090.o b/dump1090/dump1090.o new file mode 100644 index 0000000..d4608b9 Binary files /dev/null and b/dump1090/dump1090.o differ diff --git a/dump1090/dump1090.o.REMOVED.git-id b/dump1090/dump1090.o.REMOVED.git-id deleted file mode 100644 index 5ae2ce4..0000000 --- a/dump1090/dump1090.o.REMOVED.git-id +++ /dev/null @@ -1 +0,0 @@ -ddb13620fcd71864b26415e0f2a4431a0ef1b6f2 \ No newline at end of file diff --git a/dump1090/interactive.c b/dump1090/interactive.c index 17a16d5..cf4cb02 100644 --- a/dump1090/interactive.c +++ b/dump1090/interactive.c @@ -453,7 +453,8 @@ void interactiveShowData(void) { //"---------------------------------------"); printf("\x1B[37;40m"); int numNoDir = 0; - while(a && (count < 10)) { + // while(a && (count < 10)) { + while(a && (count < Modes.interactive_rows)) { if ((now - a->seen) < Modes.interactive_display_ttl) { int msgs = a->messages; @@ -566,22 +567,31 @@ void interactiveShowData(void) { //formatted for terminusBold 10x20, no unicode if(d<5) { - printf("%ls",L"\n\x1B[1;37m┌───────────────────────────────┐\n│"); + printf("%ls",L"\n\x1B[1;37m┌──────────────────────────────┐\n│"); } else { printf("\n "); } - printf("\x1B[1;31m%-8s\x1B[1;32m%5s \x1B[1;33m%4s \x1B[1;34m%5s \x1B[1;36m%c%c \x1B[1;35m%d", - a->flight, - strFl, - strGs, - strD, - cLat, cLon, - (int)((float)signalAverage/25.0f)); - + if ((now - a->seen) > 30 ) { + printf("\x1B[1;30m%-8s%5s %4s %5s %c%c %d", + a->flight, + strFl, + strGs, + strD, + cLat, cLon, + (int)((float)signalAverage/25.0f)); + } else { + printf("\x1B[1;31m%-8s\x1B[1;32m%5s \x1B[1;33m%4s \x1B[1;34m%5s \x1B[1;36m%c%c \x1B[1;35m%d", + a->flight, + strFl, + strGs, + strD, + cLat, cLon, + (int)((float)signalAverage/25.0f)); + } if(d<5) { - printf("%ls",L"\x1B[1;37m│\n└───────────────────────────────┘"); + printf("%ls",L"\x1B[1;37m│\n└──────────────────────────────┘"); count+=2; } diff --git a/dump1090/interactive.o b/dump1090/interactive.o index 6f432f2..3eb74d5 100644 Binary files a/dump1090/interactive.o and b/dump1090/interactive.o differ diff --git a/dump1090/mode_ac.o b/dump1090/mode_ac.o index b88d523..b5745f4 100644 Binary files a/dump1090/mode_ac.o and b/dump1090/mode_ac.o differ diff --git a/dump1090/mode_s.o.REMOVED.git-id b/dump1090/mode_s.o.REMOVED.git-id index 2617aaa..d8d6079 100644 --- a/dump1090/mode_s.o.REMOVED.git-id +++ b/dump1090/mode_s.o.REMOVED.git-id @@ -1 +1 @@ -c5cca26f61b7bebfa4164ea741dd693aa78bf76c \ No newline at end of file +bdd60b55bc0624ff84544a794ae21d71eaf0adc8 \ No newline at end of file diff --git a/dump1090/net_io.o b/dump1090/net_io.o index 4b887a0..92db651 100644 Binary files a/dump1090/net_io.o and b/dump1090/net_io.o differ diff --git a/dump1090/view1090.REMOVED.git-id b/dump1090/view1090.REMOVED.git-id index a41cd58..477777b 100644 --- a/dump1090/view1090.REMOVED.git-id +++ b/dump1090/view1090.REMOVED.git-id @@ -1 +1 @@ -a747e61e42f6d5e47b99924389b8df5fa0c11786 \ No newline at end of file +f8df326f25fd1b7dcebda663d33f6c93ea268776 \ No newline at end of file diff --git a/dump1090/view1090.o b/dump1090/view1090.o index ed82224..a9231fc 100644 Binary files a/dump1090/view1090.o and b/dump1090/view1090.o differ