Implemented multiline input support