9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Jacob Moody <moody@posixcafe.org>
To: 9front@9front.org
Subject: Re: [9front] [PATCH] Make pstree work with proportional fonts
Date: Wed, 22 Nov 2023 22:27:10 -0600	[thread overview]
Message-ID: <3a6e68fc-25b8-4af0-990d-f7cc9f8aadb7@posixcafe.org> (raw)
In-Reply-To: <513ec441-5e12-4adc-97b1-0dd4c7606613@invalid.invalid>

On 11/22/23 17:11, Blue-Maned_Hawk wrote:
> Pstree's current placement of the box-drawing characters after an 
> inconsistent proportion of digits and spaces means that they don't align 
> when using proportional fonts.  This patch rearranges the output of 
> pstree to have the box-drawing characters first.

The width specifier there makes all pids take up 11 characters minimum
so the characters until the "box characters" is consistent.
I am not exactly sure what the bug here is or why this patch fixes it.


  reply	other threads:[~2023-11-23  4:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-22 23:11 Blue-Maned_Hawk
2023-11-23  4:27 ` Jacob Moody [this message]
2023-11-23  4:39   ` umbraticus
2023-11-23  4:45     ` Jacob Moody
2023-11-23  4:56       ` umbraticus
2023-11-23  5:30         ` ori
2023-11-23  5:51           ` Kurt H Maier
2023-11-23  5:59           ` umbraticus
2023-11-25  0:29             ` Blue-Maned_Hawk
2023-11-25  1:33               ` Jacob Moody
2023-11-25 12:11                 ` Blue-Maned_Hawk
2023-11-25  0:29     ` Blue-Maned_Hawk
2023-11-25  1:40       ` umbraticus

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=3a6e68fc-25b8-4af0-990d-f7cc9f8aadb7@posixcafe.org \
    --to=moody@posixcafe.org \
    --cc=9front@9front.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;
as well as URLs for NNTP newsgroup(s).