async fn listen_for_line( snooze_active: &bool, shell_receiver: &Receiver<Vec<String>>, ) -> Option<String>
Auxiliary function to listen for linenoise input line and handle background task messages.