Control: tags -1 + confirmed upstream fixed-upstream

On Mon, Dec 04, 2023 at 03:19:00PM +0100, Vincent Lefevre wrote:
> Package: urlview
> Version: 1b-1
> 
> With the new urlview version, when I invoke it from Mutt, I get
> something like for the first line:
> 
> 3 URLs                           urlview-ng 1bAppuyez sur q ou ^C pour 
> quitter !
> 
> in French, or
> 
> 3 URLs                           urlview-ng 1b-1          Press q or ^C to 
> quit!
> 
> in English. This is poorly aligned, specially with the French message,
> which overwrites the version number.
These are aligned to left/right margins and center-of-screen,
which looks fine with my usual size of teletype,
but I agree it do be pretty goofy at 80.

I s'pose they could instead be aligned to left/right margins and
center-of-remaining, which'd fix this:
-- >8 --
17 URLs            urlview-ng 1b-1            Appuyez sur q ou ^C pour quitter !
->    1 http://www.cs.hmc.edu/~me
      2 http://www.cs.hmc.edu
      3 https://www.cs.hmc.edu
-- >8 --
and
-- >8 --
17 URLs                  urlview-ng 1b-1                  Press q or ^C to quit!
->    1 http://www.cs.hmc.edu/~me
      2 http://www.cs.hmc.edu
      3 https://www.cs.hmc.edu
-- >8 --
is much more reasonable.

Having modeled that, it was quite easy to implement,
and the results match the model above, incl.
-- >8 --
17 URLi                     urlview-ng 1b-1                    Wyjście: q lub ^C
->    1 http://www.cs.hmc.edu/~me
      2 http://www.cs.hmc.edu
      3 https://www.cs.hmc.edu
-- >8 --

This is what
  
https://git.sr.ht/~nabijaczleweli/urlview-ng/commit/af9bf97584c015c9417428aa4eca5c64486ff816
does.

Best,
наб

Attachment: signature.asc
Description: PGP signature

Reply via email to