summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2008-07-24 16:26:02 +0200
committerMartin Sivak <msivak@redhat.com>2008-07-24 16:35:56 +0200
commit9d120444843ec87c84cad8b20a12e0421639b279 (patch)
tree46a3bc4c0bc8251a8a6234d306a69ae0a639baa5 /text.py
parent4ecd2b468bcb30addc153492069cdd9da24f7625 (diff)
downloadanaconda-9d120444843ec87c84cad8b20a12e0421639b279.tar.gz
anaconda-9d120444843ec87c84cad8b20a12e0421639b279.tar.xz
anaconda-9d120444843ec87c84cad8b20a12e0421639b279.zip
Suspend the curses interface before calling scripts and resume afterwards (#435314)
Diffstat (limited to 'text.py')
-rw-r--r--text.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/text.py b/text.py
index a87ed5e29..ec00e0b00 100644
--- a/text.py
+++ b/text.py
@@ -535,6 +535,12 @@ class InstallInterface:
self.screen.finish()
self.screen = None
+ def suspend(self):
+ self.screen.suspend()
+
+ def resume(self):
+ self.screen.resume()
+
def __init__(self):
signal.signal(signal.SIGINT, signal.SIG_IGN)
signal.signal(signal.SIGTSTP, signal.SIG_IGN)