Handle return values from interrupted select() when checking for available console input. (Found when using CTRL-C on Linux to enter the debugger command line, and noticed that it was spuriously broken.)
Authored by: debug 2021-02-21
Parent: [r6343]
Child: [r6345]