yellow-footed-honeyguide / facad

A modern, colorful ls alternative for bringing clarity to the filesystem ☀️
MIT License
345 stars 11 forks source link

Refactored code to improve structure and readability: #5

Closed sashatexb closed 2 months ago

sashatexb commented 2 months ago
yellow-footed-honeyguide commented 2 months ago

Thanks @sashatexb for this contribution! It's a really huge improvement for the project.

I'm accepting all changes except for those in display_utils.c (partially accepted) and emoji_utils.c (partially accepted): I don't know why, but I see additional spaces in the directory listing (see screenshot 1). Maybe it looks different on different computers. My terminal type: foot (on xterm-color256 the problem is the same). My font: JetBrains Mono (with other fonts the problem is the same). Now I've fixed this problem shown in screenshot 1. For me, it works fine now (see screenshot 2).

pr_column_bug

pr_column_fix_bug