mirror of
https://github.com/rivo/tview.git
synced 2025-04-28 13:48:53 +08:00
TextView.ScrollTo() will turn off end-tracking. Fixes #274
This commit is contained in:
parent
f16ba37c6a
commit
3c477cc248
@ -329,6 +329,7 @@ func (t *TextView) ScrollTo(row, column int) *TextView {
|
|||||||
}
|
}
|
||||||
t.lineOffset = row
|
t.lineOffset = row
|
||||||
t.columnOffset = column
|
t.columnOffset = column
|
||||||
|
t.trackEnd = false
|
||||||
return t
|
return t
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user