NCurses: fix multiline info

This commit is contained in:
Maxime Coste 2013-01-29 14:24:42 +01:00
parent 2235944e60
commit 3171ab0c52

View File

@ -398,6 +398,7 @@ static DisplayCoord compute_needed_size(const String& str)
{
if (*begin == '\n')
{
res.column = std::max(res.column, line_len+1);
line_len = 0;
++res.line;
}