less: add a bit more robustness in keyboard reading code

1 file changed