term: fix final word in string not being constrained by paragraph margins
This commit is contained in:
@@ -60,7 +60,7 @@ static unsigned int extract_line(
|
||||
}
|
||||
}
|
||||
|
||||
if (start[i] == '\0') {
|
||||
if (start[i] == '\0' && (i - delta) < line_length) {
|
||||
end = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user