forked from Mirrors/bubbletea
Improve some comments
This commit is contained in:
parent
f7ec07de3c
commit
14a06b0896
|
@ -29,7 +29,7 @@ type renderer struct {
|
||||||
lastRender string
|
lastRender string
|
||||||
linesRendered int
|
linesRendered int
|
||||||
|
|
||||||
// renderer size; usually the size of the window
|
// renderer dimensions; usually the size of the window
|
||||||
width int
|
width int
|
||||||
height int
|
height int
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ type renderer struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// newRenderer creates a new renderer. Normally you'll want to initialize it
|
// 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 {
|
func newRenderer(out io.Writer, mtx *sync.Mutex) *renderer {
|
||||||
return &renderer{
|
return &renderer{
|
||||||
out: out,
|
out: out,
|
||||||
|
|
Loading…
Reference in New Issue