I’m implementing a sort of console like widget with the use of lv.textarea and os,dupterm.
Messages are coming in and are being added to the textarea with add_text().
When the text gets to large, I remove a couple of lines and re-populate the complete textarea with set_text().
Now I’ve noticed that set_text() takes a bit more time when compared to the add_text() instructions.
Is there a add_text() alternative to efficiently remove a given number of characters from the beginning of the texteara, preferably without affecting the scroll position.