Re: [PATCH] cfdisk: reenable cursor when quitting

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

 



Am Freitag, 25. Juli 2014, 14:22:01 schrieb Andreas Henriksson:
> 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;

Thanks Andreas!

I will test this as soon as I have the systemd related build deps of newer 
util-linux sorted.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
--
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