Closed sashatexb closed 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).
emoji_utils.c
.safe_strdup
for safer memory handling.EmojiMapEntry
structs for mapping file extensions and device types to emojis.