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