nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] indenting the key lists by one space


From: David Lawrence Ramsey
Subject: Re: [Nano-devel] indenting the key lists by one space
Date: Tue, 20 Jun 2006 00:09:48 -0400
User-agent: Thunderbird 1.5.0.4 (X11/20060516)

Benno Schulenberg wrote:

<snip>

> When using an xterm and especially a Konsole, the key list of the main
> help text gets almost glued to the left window border.  It would be
> nicer if these key lists were indented by one space, just like the
> explanatory text above it.  Attached patch does this.  (It's probably
> not entirely correct, as I don't grasp the code in those sentinel
> blocks: in one the string gets truncated, in the other not.  Is it
> needed?  Or maybe a left-over?)
>
> If the patch is accepted, the headlines of the help texts would all
> have to be indented by one space too, but that would change the
> message strings, so that's not a good change to make now.

Interesting idea, but I like the way things are now (in CVS; see below)
for one reason.  Since the wrapped help text descriptions all begin with
spaces, while the key lists don't, it's easy to tell which is which
without having to read a given line in detail: all you have to do is
look at the first character of the line.  If I indent the lines by one
space as you suggest, this doesn't work anymore.

> Something else (it's hardly important, but I noticed it while
> experimenting): when setting the terminal size smaller than 80
> columns, some of the key explanations get truncated instead of
> wrapped.  The explanations of the toggles, though, do get wrapped.
> Also, the introductory explanatory text seems to get wrapped at
> COLS-9, instead of at the width of the screen (or at COLS-1, for
> symmetry with the left indent).
>
> Set for example the terminal width to 50, and see how the main help
> text gets wrapped too early, the key explanations are chopped off, and
> the toggle explanations are wrapped again too early (except when they
> do fit on a single line).

Both fixed in CVS.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]