Minor aesthetic change to interactive mode.

This commit is contained in:
antirez 2013-01-07 01:50:34 +01:00
parent 840a005d16
commit 1576b61af5

View File

@ -1283,9 +1283,9 @@ void interactiveShowData(void) {
progress[3] = '\0'; progress[3] = '\0';
printf("\x1b[H\x1b[2J"); /* Clear the screen */ printf("\x1b[H\x1b[2J"); /* Clear the screen */
printf("Hex Flight Altitude Speed Messages Seen %s\n", printf("Hex Flight Altitude Speed Messages Seen %s\n",
progress); progress);
printf("----------------------------------------------------\n"); printf("-------------------------------------------------------\n");
while(a && count < Modes.interactive_rows) { while(a && count < Modes.interactive_rows) {
printf("%-6s %-8s %-9d %-9d %-9ld %d sec ago\n", printf("%-6s %-8s %-9d %-9d %-9ld %d sec ago\n",
a->hexaddr, a->flight, a->altitude, a->speed, a->messages, a->hexaddr, a->flight, a->altitude, a->speed, a->messages,