From 14a06b0896125d57b9c1ec64f378fdb4851a6400 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Mon, 6 Jul 2020 11:54:02 -0400 Subject: [PATCH] Improve some comments --- renderer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderer.go b/renderer.go index 42a4187..d747f4a 100644 --- a/renderer.go +++ b/renderer.go @@ -29,7 +29,7 @@ type renderer struct { lastRender string linesRendered int - // renderer size; usually the size of the window + // renderer dimensions; usually the size of the window width int height int @@ -38,7 +38,7 @@ type renderer struct { } // newRenderer creates a new renderer. Normally you'll want to initialize it -// with os.Stdout as the argument. +// with os.Stdout as the first argument. func newRenderer(out io.Writer, mtx *sync.Mutex) *renderer { return &renderer{ out: out,