Updated the user interface to support multiline input