how could I make it so with each sys.stdout.write I write all those that are next to each other in rows positions?
my code: ```py
def draw(self, *extra_texts: str):
move_cursor(0,0)
sys.stdout.write("\n".join(extra_texts))
rows, cols = np.where(self.old_value != self.value)
for i, j in zip(rows, cols):
move_cursor(j + self.offset, i)
sys.stdout.write(self.value[i, j])