Skip to content
  • rswindell's avatar
    Re-work the column-counting in outchar(). · 27c9842c
    rswindell authored
    I noticed that printable ctrl chars (e.g. 0x18 and 0x19) were not causing the
    current column position to increment, so that got me looking at this code and
    wondering why the LF/FF checking was outside the if(!outchar_esc) condition
    and being executed when CON_R_ECHO is off. So now, using a switch statement,
    it's cleaner and all the printable ctrl chars move the current column position
    correctly.
    27c9842c