Commit ae648778 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

screen: refresh when a new magicline is added in line-numbering mode

This fixes https://savannah.gnu.org/bugs/?49406.
No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
......@@ -1892,8 +1892,11 @@ void do_output(char *output, size_t output_len, bool allow_cntrls)
continue;
/* If we're adding to the magicline, create a new magicline. */
if (!ISSET(NO_NEWLINES) && openfile->filebot == openfile->current)
if (!ISSET(NO_NEWLINES) && openfile->filebot == openfile->current) {
new_magicline();
if (margin > 0)
refresh_needed = TRUE;
}
assert(openfile->current_x <= current_len);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment