stopProp on hitting enter in command line