From 30159888f459d6307c37e0017021ba703f7a90d3 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 22 Oct 2009 17:25:42 +0000 Subject: curses backend: do not crash when resuming interface --- perl-install/NEWS | 2 ++ perl-install/install/NEWS | 2 ++ perl-install/interactive/curses.pm | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index b9565aebf..a2003342e 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- curses backend: do not crash when resuming interface + Version 12.68 - 19 October 2009 - avoid error messages when using lvm in draklive-install (#36415) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 6cce3b6c4..db429a979 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- curses backend: do not crash when resuming interface + Version 12.69 - 21 October 2009 - user management: diff --git a/perl-install/interactive/curses.pm b/perl-install/interactive/curses.pm index 90fca4c14..ffeeafd32 100644 --- a/perl-install/interactive/curses.pm +++ b/perl-install/interactive/curses.pm @@ -37,8 +37,8 @@ sub new { sub enter_console { &suspend } sub leave_console { &end } -sub suspend { Curses::UI->leave_curses } -sub resume { Curses::UI->reset_curses } +sub suspend { $cui->leave_curses } +sub resume { $cui->reset_curses } sub end { &suspend; print $SAVEERR $_ foreach cat_($stderr_file); unlink $stderr_file } sub exit { end(); CORE::exit($_[1] || 0) } END { end() } -- cgit v1.2.1