mirror of https://github.com/helix-editor/helix
Draw each message line separately in `draw_eol_diagnostic`
`set_string_truncated` renders the entire string while ignoring newlines, so if the diagnostic's message contains multiple lines it produces messages like 'first linesecond line'. To avoid these run-ons, this commit renders each line separately, inserting double spaces for disambiguation.pull/11815/head
parent
2ca57f02b5
commit
6da03c0072
Loading…
Reference in New Issue