termptyops: fix clearing cells on scroll

cells has already the offset taken into account
devs/iscaro/meson
Boris Faure 6 years ago
parent 400b675fc9
commit e314dd2f29
  1. 2
      src/bin/termptyops.c

@ -86,7 +86,7 @@ termpty_text_scroll(Termpty *ty, Eina_Bool clear)
termpty_cell_copy(ty, cells, cells2, w);
}
if (clear)
termpty_cells_clear(ty, cells + x, w);
termpty_cells_clear(ty, cells, w);
}
}

Loading…
Cancel
Save