]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: reenable cursor when quitting
authorAndreas Henriksson <andreas@fatal.se>
Fri, 25 Jul 2014 12:22:01 +0000 (14:22 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 28 Jul 2014 09:09:56 +0000 (11:09 +0200)
After quitting cfdisk (built with slang) the cursor would be
missing at the command prompt.

Reported-by: Martin Steigerwald <Martin@Lichtvoll.de>
Addresses-Debian-Bug: #755991
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
disk-utils/cfdisk.c

index 5a42ab189db7d2223b72202faa60943c894999d1..dfdaaf05864fb0fcaea4b372416ec9f24d9dab55 100644 (file)
@@ -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;