Improve some comments

This commit is contained in:
Christian Rocha
2020-07-06 11:54:02 -04:00
parent f7ec07de3c
commit 14a06b0896

View File

@@ -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,