Use read-key instead of read-event for module completion (fixes #360)