I\'m capturing up and down key presses using the following code:
async #getKey() { process.stdin.resume();