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