An application to display the albumn cover of the track played in cmus.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: small refactor

+2 -1
+2 -1
main.go
··· 104 104 for { 105 105 conn, err := ln.Accept() 106 106 if err != nil { 107 + log.Println(err) 107 108 continue 108 109 } 109 110 handleConn(conn) ··· 204 205 // renderCover renders the image in the terminal 205 206 func renderCover(data []byte) { 206 207 // clean screen 207 - fmt.Print("\033[2J\033[H") 208 + cleanScreen() 208 209 209 210 // get terminal size 210 211 features := termimg.QueryTerminalFeatures()