[PATCH] cfdisk: reenable cursor when quitting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After quitting cfdisk (built with slang) the cursor would be
missing at the command prompt.

Reported-by: Martin Steigerwald <Martin@xxxxxxxxxxxx>
Addresses-Debian-Bug: #755991
Signed-off-by: Andreas Henriksson <andreas@xxxxxxxx>
---
 disk-utils/cfdisk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index 5a42ab1..dfdaaf0 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;
-- 
2.0.1

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux