Add multiline feature to console implementation.