Fixed multi-line prompt issue