How do I update content I have added to the status bar?


I am trying to update text added to the status-bar using setInterval but instead ended up adding the updated version next to the original for every interval.

I am sorry if am missing something obvious but I can’t figure it out.


Take a look at my packages, soft-wrap-indicator and indentation-indicator. They should offer good examples of how to do what you’re looking for.


Thank you! I got it working. :smile: