Skip to content

Update public function showStats(show) #77

@1951FDG

Description

@1951FDG

Hello,

I use a custom statsFormatter, that is loaded dynamically (its a token counter, heavy init), once it finishes loading, I currently have to call private function _updateStats()

my suggestion is to modify showStats(show)

showStats(show), add conditional, if this.statsBar then just this._updateStats(); (pseudo code)

That way I can avoid calling _updateStats(), and can just call showStats()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions