]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: reenable cursor when quitting
authorKarel Zak <kzak@redhat.com>
Wed, 6 Aug 2014 13:39:27 +0000 (15:39 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 27 Aug 2014 11:17:24 +0000 (13:17 +0200)
Based on master branch patches
cd8414f7a13aca0b3ea150b473b83f00819b312f
4f4daf8f90a7f4b01ce3edbf620d58058aaf2efd

This is probably correct to have curs_set() in ui_end(), but according
to Martin it does not work with slang library from signal handler.

Addresses-Debian-Bug: #755991
Reported-by: Martin Steigerwald <Martin@lichtvoll.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/cfdisk.c

index 5a42ab189db7d2223b72202faa60943c894999d1..536132af058c807a599b50da012b16c86f60f7ac 100644 (file)
@@ -525,6 +525,7 @@ static int ui_end(void)
 #else
        mvcur(0, COLS - 1, LINES-1, 0);
 #endif
+       curs_set(1);
        nl();
        endwin();
        printf("\n");