The text area will display the contents of whatever buffer you pass to it. I suggest that you make your buffer a fixed size and shift the newer contents to the beginning when you run out of space to make more room. The exact mechanism you use to do that is not LittlevGL-specific.