Skip to content
  • rswindell's avatar
    Use console.inkey() correctly. If you only supply one argument, that value is · f37e03f4
    rswindell authored
    the mode, not the timeout. Here, "100" happens to be 0x64 which includes
    K_SPIN which indicates it was called from getkey(K_SPIN) and since it wasn't,
    it was removing the last character of the save-line buffer since this code also
    does gratuitous save/restoreline() calls, resulting in partial ANSI escape
    sequences being displayed at the command-line. This one too far too long to
    find. :-(
    f37e03f4