mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-16 01:43:21 +00:00
fix(textarea): reset real cursor position on Reset
This commit is contained in:
@@ -629,6 +629,8 @@ func (m *Model) Reset() {
|
||||
m.value = make([][]rune, minHeight, startCap)
|
||||
m.col = 0
|
||||
m.row = 0
|
||||
m.realCol = 0
|
||||
m.realRow = 0
|
||||
m.viewport.GotoTop()
|
||||
m.SetCursor(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user