Aw: How do I clear a textarea instance?

Anton Vidovic anton.vidovic at gmx.de
Sun Jan 2 11:52:11 UTC 2022


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




More information about the croatoan-devel mailing list