fn print_header(ticker: &str, position: usize){
    let vertical_offset: u16 = (position * 3) as u16;

    println!("{}{}{ticker}{reset} - ",
        cursor::Goto(0, vertical_offset),
        termion::style::Italic,
        ticker=ticker,
        reset=termion::style::Reset);
    println!("[{}]", " ".repeat(NUM_VALUES));
}
// TODO: consider formatting the '-' correctly for 3 letter tickers
//       to fit with 4 letter tickers nicely
consider formatting the '-' correctly for 3 letter tickers
to fit with 4 letter tickers nicely
consider formatting the ' - ' correctly for 3 letter tickers to fit with 4 letter tickers nicely
fn print_header(ticker: &str, position: usize){
    let vertical_offset: u16 = (position * 3) as u16;
    println!("{}{}{ticker}{reset} - ",
        cursor::Goto(0, vertical_offset),
        termion::style::Italic,
        ticker=ticker,
        reset=termion::style::Reset);
    println!("[{}]", " ".repeat(NUM_VALUES));
}
fn print_header ( ticker : & str , position : usize ) { let vertical_offset : u16 = ( position * 3 ) as u16 ; println ! ( " " cursor Goto ( 0 vertical_offset ) termion style Italic ticker ticker reset termion style Reset ) ; println ! ( " " " " repeat ( NUM_VALUES ) ) ; }
TODO: consider formatting the '-' correctly for 3 letter tickers
to fit with 4 letter tickers nicely
TODO : consider formatting the ' - ' correctly for 3 letter tickers to fit with 4 letter tickers nicely
ticker
&str
position
usize
ticker
&str
position
usize