after image, revert to normal

This commit is contained in:
Bel LaPointe
2023-04-07 11:10:25 -06:00
parent 8ca46e7ad8
commit 6ae6ea74b9

View File

@@ -33,6 +33,7 @@ func View(w io.Writer, p string) {
panic(err) panic(err)
} }
printImage(w, 40, src) printImage(w, 40, src)
fmt.Fprintln(w, "")
} }
func printImage(w io.Writer, limit int, image image.Image) { func printImage(w io.Writer, limit int, image image.Image) {
@@ -58,4 +59,5 @@ func printImage(w io.Writer, limit int, image image.Image) {
} }
fmt.Fprintf(w, "\n") fmt.Fprintf(w, "\n")
} }
fmt.Fprintf(w, "\r\n%s[0m\r", escape)
} }