pub fn generate_terminal_name(
    terminal: &str,
    i: Option<usize>,
    cfg: &Cfg
) -> String
Expand description

Generates a terminal name from a terminal definition The parameter of type Option<TerminalIndex> is used to handle fixed terminal indices like EOI. When only ‘normal’ terminal strings are processed and a terminal index is not relevant simply provide None for this value.