func Reset() { currentLine = []rune{} currentScroll = 0 cursor = 0 updateCursor() display.ShowLine(visibleLine()) display.DrawLine() }
func updateCursor() { display.SetCursor(cursor - currentScroll) display.DrawLine() }
func Draw() { display.ShowLine(visibleLine()) display.SetCursor(cursor - currentScroll) display.DrawLine() display.Flush() }