Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@leitzler
Copy link
Member

@leitzler leitzler commented Oct 8, 2020

Progress messages do sometimes contain newlines. To ensure that the
popup is rendered correct the progress message is now divided into
multiple lines.

Progress messages do sometimes contain newlines. To ensure that the
popup is rendered correct the progress message is now divided into
multiple lines.
@leitzler leitzler requested a review from myitcv October 8, 2020 18:34
Copy link
Member

@myitcv myitcv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one question: can we add a test for this? i.e. is there a way we can trigger a progress message that we know will be multiline? I guess testing for the existence of that popup is hard...

@leitzler
Copy link
Member Author

leitzler commented Oct 8, 2020

It is tricky with the UI indeed. There aren't any multiline progress messages at the moment, as this is a gardening change for "go test" for example. It has been tested manually at least.

@leitzler leitzler merged commit 39729ae into main Oct 8, 2020
@leitzler leitzler deleted the cmd_govim_multilineprogress branch October 8, 2020 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants