From: Andreas Henriksson Date: Fri, 25 Jul 2014 12:22:01 +0000 (+0200) Subject: cfdisk: reenable cursor when quitting X-Git-Tag: v2.26-rc1~589 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f4daf8f90a7f4b01ce3edbf620d58058aaf2efd;p=thirdparty%2Futil-linux.git cfdisk: reenable cursor when quitting After quitting cfdisk (built with slang) the cursor would be missing at the command prompt. Reported-by: Martin Steigerwald Addresses-Debian-Bug: #755991 Signed-off-by: Andreas Henriksson --- diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index 5a42ab189d..dfdaaf0586 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -1966,6 +1966,7 @@ static int ui_run(struct cfdisk *cf) menu_pop(cf); + curs_set(1); DBG(FRONTEND, ul_debug("ui: end")); return 0;