public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Henriksson <andreas@fatal.se>
To: util-linux@vger.kernel.org
Cc: Andreas Henriksson <andreas@fatal.se>
Subject: [PATCH] cfdisk: reenable cursor when quitting
Date: Fri, 25 Jul 2014 14:22:01 +0200	[thread overview]
Message-ID: <1406290922-25357-1-git-send-email-andreas@fatal.se> (raw)

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


             reply	other threads:[~2014-07-25 12:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-25 12:22 Andreas Henriksson [this message]
2014-07-25 12:40 ` [PATCH] cfdisk: reenable cursor when quitting Martin Steigerwald
2014-07-28  9:13 ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1406290922-25357-1-git-send-email-andreas@fatal.se \
    --to=andreas@fatal.se \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox