Add support for multi-line input