From 0335ec832a9e17903fa9f15fede95b38614755b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Fri, 1 Dec 2017 18:42:44 +0800 Subject: [PATCH] Fixed no result info artifact --- python/reg-rename.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/reg-rename.py b/python/reg-rename.py index 43e95d2..a5d609d 100644 --- a/python/reg-rename.py +++ b/python/reg-rename.py @@ -134,6 +134,9 @@ class RegReplace: if not self.recursive: break + + sys.stdout.write( "\n" ) # Move down + sys.stdout.write( "\033[K" ) # Clear line sys.stdout.flush() def _compile_re( patterns ):