Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer interface { Clear() Set(int, int, rune, tcell.Style) Get(int, int) (rune, tcell.Style) Size() (int, int) // TODO(ym): Hmm probably shouldn't be here Invalidate() Invalid() bool DrawString(int, int, string, tcell.Style) }
New(Buffer, int, int, int, int, string) Buffer TODO(ym):
type Rect ¶
type Rect struct { Buffer // contains filtered or unexported fields }
func (*Rect) Invalidate ¶
func (rect *Rect) Invalidate()
type Screen ¶
TODO(ym): Check if embedding will break stuff (aka encapsulation) // write a better comment lmao
func (*Screen) DrawString ¶
TODO(ym): Add a wrap boolean TODO(ym): Remove the reciever
func (*Screen) Invalidate ¶
func (screen *Screen) Invalidate()
TODO(ym): Maybe these should be no-op?
Click to show internal directories.
Click to hide internal directories.