mirror of
https://github.com/Maks1mS/bubbles.git
synced 2025-03-13 12:33:43 +03:00
Renderer comments
This commit is contained in:
parent
0eaea5cc5d
commit
3321ac12a9
@ -10,9 +10,18 @@ import (
|
||||
)
|
||||
|
||||
type renderer struct {
|
||||
Out io.Writer
|
||||
Y int
|
||||
Height int
|
||||
// Out is the io.Writer to which we should render. Generally, this will
|
||||
// be stdout.
|
||||
Out io.Writer
|
||||
|
||||
// Y is the vertical offset of the rendered area in relation to the
|
||||
// terminal window.
|
||||
Y int
|
||||
|
||||
// Height is the number of rows to render.
|
||||
Height int
|
||||
|
||||
// TerminalHeight is the total height of the terminal.
|
||||
TerminalHeight int
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user