How can I 'getchar()' in module code?