public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cfdisk: reenable cursor when quitting
@ 2014-07-25 12:22 Andreas Henriksson
  2014-07-25 12:40 ` Martin Steigerwald
  2014-07-28  9:13 ` Karel Zak
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Henriksson @ 2014-07-25 12:22 UTC (permalink / raw)
  To: util-linux; +Cc: Andreas Henriksson

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 | 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] cfdisk: reenable cursor when quitting
  2014-07-25 12:22 [PATCH] cfdisk: reenable cursor when quitting Andreas Henriksson
@ 2014-07-25 12:40 ` Martin Steigerwald
  2014-07-28  9:13 ` Karel Zak
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Steigerwald @ 2014-07-25 12:40 UTC (permalink / raw)
  To: Andreas Henriksson; +Cc: util-linux

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@Lichtvoll.de>
> Addresses-Debian-Bug: #755991
> Signed-off-by: Andreas Henriksson <andreas@fatal.se>
> ---
>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] cfdisk: reenable cursor when quitting
  2014-07-25 12:22 [PATCH] cfdisk: reenable cursor when quitting Andreas Henriksson
  2014-07-25 12:40 ` Martin Steigerwald
@ 2014-07-28  9:13 ` Karel Zak
  1 sibling, 0 replies; 3+ messages in thread
From: Karel Zak @ 2014-07-28  9:13 UTC (permalink / raw)
  To: Andreas Henriksson; +Cc: util-linux

On Fri, Jul 25, 2014 at 02:22:01PM +0200, Andreas Henriksson wrote:
>  disk-utils/cfdisk.c | 1 +
>  1 file changed, 1 insertion(+)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-28  9:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-25 12:22 [PATCH] cfdisk: reenable cursor when quitting Andreas Henriksson
2014-07-25 12:40 ` Martin Steigerwald
2014-07-28  9:13 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox