commit:     efa29410a1ae8194c9d40866a2c893d414639d5b
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 03:34:17 2022 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Tue May 31 03:34:17 2022 +0000
URL:        https://gitweb.gentoo.org/proj/mirrorselect.git/commit/?id=efa29410

selectors.py: Fix bug 698528 clear screen on dialog exit

Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>

 mirrorselect/selectors.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mirrorselect/selectors.py b/mirrorselect/selectors.py
index 35051ee..1b1312c 100644
--- a/mirrorselect/selectors.py
+++ b/mirrorselect/selectors.py
@@ -571,6 +571,7 @@ class Interactive(object):
 
                self.urls = out.splitlines()
 
+               sys.stderr.write("\x1b[2J\x1b[H")
                if self.urls:
                        if hasattr(self.urls[0], 'decode'):
                                self.urls = decode_selection(

Reply via email to