Lsd: Missing space between icon and folder name

Created on 2 May 2020  路  9Comments  路  Source: Peltoche/lsd

Expected behavior

Space between icon and folder name

image

Actual behavior

There is no space between icon and folder name. Both overlap a bit.

image

Is this an expected change?

Info

Terminal: st (https://github.com/andys8/st)
Font: Iosevka Nerd Font-14

areicon good first issue kinenhancement

Most helpful comment

Now that we have support for config file, I guess we could add this as a config option icon_spacing.
Similar to https://github.com/Peltoche/lsd/pull/436

All 9 comments

I can confirm that this has come up between versions 16.0 and 17.0 for me as well.

I suspect the change from 2 spaces to 1 for one line is causing this behavior.

https://github.com/Peltoche/lsd/commit/200c5d2c68c7f0519d1eddfef2e30fe7dd8d11e5

Over the past history this has changed some times. But with a single space there will be a problem with double width fonts. Will a change to 2 spaces be accepted and merged?

+1 for this issue

+1 for more spacing

This looks odd compared to colorls (coloring aside)

Bildschirmfoto 2020-10-20 um 08 55 57

Over at exa they introduced EXA_ICON_SPACING

https://github.com/ogham/exa/commit/51be9f4c43e61bbea61e70e1459e494207d1d979#diff-48b676e2b107da679512b793d5fd4cc4329f0c7c17a97cf6e0e3d1005b600b03

Now that we have support for config file, I guess we could add this as a config option icon_spacing.
Similar to https://github.com/Peltoche/lsd/pull/436

This should now be available via https://github.com/Peltoche/lsd/pull/469 once 0.20.0 release lands.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Phuker picture Phuker  路  5Comments

sklages picture sklages  路  5Comments

Berrysoft picture Berrysoft  路  3Comments

rediffusion picture rediffusion  路  5Comments

augustobmoura picture augustobmoura  路  5Comments