Util-Linux package development
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Benno Schulenberg <bensberg@justemail.net>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH 3/5] cfdisk: bring the hint line closer to the menu line
Date: Mon, 27 Jul 2015 12:42:14 +0200	[thread overview]
Message-ID: <20150727104214.GD6865@ws.net.home> (raw)
In-Reply-To: <1437837498-23833-3-git-send-email-bensberg@justemail.net>

On Sat, Jul 25, 2015 at 05:18:16PM +0200, Benno Schulenberg wrote:
> To make it clearer that they belong together.

Please, don't treat with users as idiots. This is (c)fdisk, no gnome
project...

> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
> ---
>  disk-utils/cfdisk.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
> index 5e46136..ddec7f4 100644
> --- a/disk-utils/cfdisk.c
> +++ b/disk-utils/cfdisk.c
> @@ -94,7 +94,7 @@
>  #define MENU_H_POSTSTR_SZ	(sizeof(MENU_H_POSTSTR) - 1)
>  
>  #define TABLE_START_LINE	4
> -#define MENU_START_LINE		(ui_lines - 5)
> +#define MENU_START_LINE		(ui_lines - 3)
>  #define INFO_LINE		(ui_lines - 2)
>  #define WARN_LINE		INFO_LINE
>  #define HINT_LINE		(ui_lines - 1)

I don't like it, on small terminal the menu uses two lines. It
introduces a new problem which you want to fix in another patch.
Unnecessary.

I have moved the menu to (ui_lines - 4), it's enough.

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

  reply	other threads:[~2015-07-27 10:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-25 15:18 [PATCH 1/5] cfdisk: allow an uppercase X to toggle the extra info Benno Schulenberg
2015-07-25 15:18 ` [PATCH 2/5] cfdisk: spell "label" in lower case Benno Schulenberg
2015-07-27 10:29   ` Karel Zak
2015-07-25 15:18 ` [PATCH 3/5] cfdisk: bring the hint line closer to the menu line Benno Schulenberg
2015-07-27 10:42   ` Karel Zak [this message]
2015-07-25 15:18 ` [PATCH 4/5] cfdisk: keep the extra info block separate from menu and partitions Benno Schulenberg
2015-07-27 11:21   ` Karel Zak
2015-07-25 15:18 ` [PATCH 5/5] cfdisk: when moving inside the menu, always redraw it completely Benno Schulenberg
2015-07-27 10:28 ` [PATCH 1/5] cfdisk: allow an uppercase X to toggle the extra info 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=20150727104214.GD6865@ws.net.home \
    --to=kzak@redhat.com \
    --cc=bensberg@justemail.net \
    --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