mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-05 12:46:14 +00:00
fix(textarea): cursor position calculation
This commit is contained in:
@@ -1446,7 +1446,7 @@ func (m Model) Cursor() *tea.Cursor {
|
||||
baseStyle.GetPaddingLeft() +
|
||||
baseStyle.GetBorderLeftSize()
|
||||
|
||||
yOffset := m.cursorLineNumber() +
|
||||
yOffset := m.cursorLineNumber() -
|
||||
m.viewport.YOffset +
|
||||
baseStyle.GetMarginTop() +
|
||||
baseStyle.GetPaddingTop() +
|
||||
|
||||
Reference in New Issue
Block a user