From 6ae6ea74b99aadc00cb4fe2e0f095f3595d4e019 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Fri, 7 Apr 2023 11:10:25 -0600 Subject: [PATCH] after image, revert to normal --- image.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/image.go b/image.go index b55d1e6..ed86c78 100644 --- a/image.go +++ b/image.go @@ -33,6 +33,7 @@ func View(w io.Writer, p string) { panic(err) } printImage(w, 40, src) + fmt.Fprintln(w, "") } 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, "\r\n%s[0m\r", escape) }