Firacode: Make pipe | shorter

Created on 16 Sep 2019  Β·  10Comments  Β·  Source: tonsky/FiraCode

Thanks for the good work. But in my personal opinion, the new | seems too tall in normal code. Now the || is way taller than &&, which seems inconsistent. Also, some related ligatures is inconsistent to this taller |, like |=

2019-09-15_11-24-04


EDIT: I'm talking about the ASCII symbol | (U+007C) instead of the BOX DRAWINGS LIGHT VERTICAL β”‚ (U+2502). In v2.0, the | (U+007C) becomes taller, which I think is a mistake.

_Originally posted by @blahgeek in https://github.com/tonsky/FiraCode/issues/449#issuecomment-531531138_

Most helpful comment

I actually quite liked it last time I used a font with vertical bars this long, specifically for haskell's guards, and I like it here as well:

(github file attachment doesn't seem to work for me at the moment, so here's an imgur link)
https://i.imgur.com/KxQWNOU.png

If you end up removing it, maybe consider leaving it in as a stylistic set, I would appreciate it.

All 10 comments

It became taller to match full block height in progressbar:

     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 102kB 4.6MB/s 

Maybe it’s not such a good idea.

Actually now I’m thinking that I can detect that specific case and alter the height in that case only

I think a proper progress bar should use U+2502 instead of U+007C anyway

Tell that to pip authors :)

Actually now I’m thinking that I can detect that specific case and alter the height in that case only

What about when the bar isn’t all the way full?

 |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ        | 102kB 4.6MB/s

Yeah, bad idea. Shame :(

I actually quite liked it last time I used a font with vertical bars this long, specifically for haskell's guards, and I like it here as well:

(github file attachment doesn't seem to work for me at the moment, so here's an imgur link)
https://i.imgur.com/KxQWNOU.png

If you end up removing it, maybe consider leaving it in as a stylistic set, I would appreciate it.

Looks great in your screenshot. Thanks for that use-case!

Another vote for keeping the bar full-height.

htop is a bit hard to read with these long pipes:

latest

vs. Hack

latest

edit: I have a 4k monitor. The gap between the bars disappears with lower resolutions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Photonico picture Photonico  Β·  3Comments

tomByrer picture tomByrer  Β·  4Comments

aryairani picture aryairani  Β·  3Comments

magnus-madsen picture magnus-madsen  Β·  3Comments

blucell picture blucell  Β·  4Comments