Don't miss the last line off the screen when writing after resize, from

Anindya Mukherjee.
pull/2172/head
nicm 2020-04-16 05:22:08 +00:00
parent fc1855f514
commit b6dfca9b4d
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ window_copy_size_changed(struct window_mode_entry *wme)
window_copy_clear_marks(wme);
screen_write_start(&ctx, NULL, s);
window_copy_write_lines(wme, &ctx, 0, screen_size_y(s) - 1);
window_copy_write_lines(wme, &ctx, 0, screen_size_y(s));
screen_write_stop(&ctx);
if (search && !data->timeout)