Added common#get_input_accepting_empty function