Open piotrpdev opened 1 year ago
There is no (public) function in the textarea package to move the cursor to the top: https://pkg.go.dev/github.com/charmbracelet/bubbles@v0.16.1/textarea.
There are only function that change the column of the cursor or move it up/down by one row. There is a moveToBegin function which is perfectly suited for this, but it is not made public and is only available through a shortcut (Ctrl+Home)
moveToBegin
Ctrl+Home
There is no (public) function in the textarea package to move the cursor to the top: https://pkg.go.dev/github.com/charmbracelet/bubbles@v0.16.1/textarea.
There are only function that change the column of the cursor or move it up/down by one row. There is a
moveToBegin
function which is perfectly suited for this, but it is not made public and is only available through a shortcut (Ctrl+Home
)