                        }
                    }
                }
            }
        }

    }
}

fn print_legend() {
    let mut t = term::stdout().unwrap();
    t.fg(term::color::BRIGHT_GREEN).unwrap();
    write!(t, "        Legend ").unwrap();
    t.fg(term::color::BRIGHT_CYAN).unwrap();
    write!(t, "QoS 0 ").unwrap();