Fix launcher-cli.js

The approach for accessing keypresses was out of date.