2 Jan
2022
2 Jan
'22
11:52 a.m.
Hallo Lance,
How do I go about clearing the buffer, resetting the input pointer, and moving the cursor back to the beginning of the textarea?
I have just pushed a commit that adds a generic function reset, which first clears the textarea (field, form) with the background char, then resets the internal variables.
In the default keymap, it is bound to ^R, but you can change that if it doesn't make sense to you.
Anton