Finally fixed multi-line prompt issue