mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-03 18:19:17 +03:00
NCurses: fix multiline info
This commit is contained in:
parent
2235944e60
commit
3171ab0c52
@ -398,6 +398,7 @@ static DisplayCoord compute_needed_size(const String& str)
|
|||||||
{
|
{
|
||||||
if (*begin == '\n')
|
if (*begin == '\n')
|
||||||
{
|
{
|
||||||
|
res.column = std::max(res.column, line_len+1);
|
||||||
line_len = 0;
|
line_len = 0;
|
||||||
++res.line;
|
++res.line;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user