pull/100/head
George Sexton 1 year ago
parent 9562809d46
commit 49b2b5fb4c

@ -253,7 +253,7 @@ func (dev *Dev) Move(dir display.CursorDirection) (err error) {
// Move the cursor to arbitrary position.
func (dev *Dev) MoveTo(row, col int) (err error) {
if row < dev.MinRow() || row > dev.rows || col < dev.MinCol() || col > dev.cols {
err = fmt.Errorf("%s.MoveTo(%d,%d) value out of range.", packageName, row, col)
err = fmt.Errorf("%s.MoveTo(%d,%d) value out of range", packageName, row, col)
return
}
var cmd = []byte{cmdByte, setCursorPosition[1]}

Loading…
Cancel
Save