summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e5c137e)
Clear from given column to end of line.
+// Clear EOL
+func (s *TermboxScreen) ClearLine(x int, y int) {
+ for i := x; i < s.width; i++ {
+ termbox.SetCell(i, y, ' ', termbox.ColorDefault, termbox.ColorDefault)
+ }
+ s.Flush()
+}
+
// set the screen size
func (s *TermboxScreen) SetSize(width, height int) {
// if we get bigger then clear out the bottom line
// set the screen size
func (s *TermboxScreen) SetSize(width, height int) {
// if we get bigger then clear out the bottom line