From ffb1efc3d0125888b1c1f2bb93f3717da56c6663 Mon Sep 17 00:00:00 2001
From: Anzo <enzo.decarvalhobittencourt@ensiie.fr>
Date: Sun, 27 Aug 2023 14:54:22 -0700
Subject: [PATCH] fixed bug

---
 img2ttxxtt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/img2ttxxtt.py b/img2ttxxtt.py
index 655c749..d24182c 100755
--- a/img2ttxxtt.py
+++ b/img2ttxxtt.py
@@ -242,7 +242,7 @@ if __name__ == "__main__":
 
     # actually print the results and the texts
     print("\033[2J", end="")  # clears screen
-    print(res.stdout, end="\033[0m")
+    print(res.stdout, end="\033[0m\033[s")
     for sentence in all_sentences:
         cx = int((sentence["xy"][0] / pwidth) * cwidth)
         cy = int((sentence["xy"][1] / pheight) * cheight)
-- 
GitLab