@@ -58,8 +58,8 @@ func TruncateMiddleText(text string, maxChars int, tails string) string {
5858 return truncatedText
5959}
6060
61- func PrettierName (name string , width int , isDir bool , isSelected bool , bgColor lipgloss.Color ) string {
62- style := GetElementIcon (name , isDir , Config .Nerdfont )
61+ func PrettierName (name string , width int , isDir bool , isLink bool , isSelected bool , bgColor lipgloss.Color ) string {
62+ style := GetElementIcon (name , isDir , isLink , Config .Nerdfont )
6363 if isSelected {
6464 return StringColorRender (lipgloss .Color (style .Color ), bgColor ).
6565 Background (bgColor ).
@@ -73,16 +73,16 @@ func PrettierName(name string, width int, isDir bool, isSelected bool, bgColor l
7373 FilePanelStyle .Render (TruncateText (name , width , "..." ))
7474}
7575
76- func PrettierDirectoryPreviewName (name string , isDir bool , bgColor lipgloss.Color ) string {
77- style := GetElementIcon (name , isDir , Config .Nerdfont )
76+ func PrettierDirectoryPreviewName (name string , isDir bool , isLink bool , bgColor lipgloss.Color ) string {
77+ style := GetElementIcon (name , isDir , isLink , Config .Nerdfont )
7878 return StringColorRender (lipgloss .Color (style .Color ), bgColor ).
7979 Background (bgColor ).
8080 Render (style .Icon + " " ) +
8181 FilePanelStyle .Render (name )
8282}
8383
84- func ClipboardPrettierName (name string , width int , isDir bool , isSelected bool ) string {
85- style := GetElementIcon (filepath .Base (name ), isDir , Config .Nerdfont )
84+ func ClipboardPrettierName (name string , width int , isDir bool , isLink bool , isSelected bool ) string {
85+ style := GetElementIcon (filepath .Base (name ), isDir , isLink , Config .Nerdfont )
8686 if isSelected {
8787 return StringColorRender (lipgloss .Color (style .Color ), FooterBGColor ).
8888 Background (FooterBGColor ).
0 commit comments