input emits 'quit' on ^c