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.
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.