mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(tui): initialize loader before starting indicator
This commit is contained in:
parent
8a6775bbe6
commit
23b361cfd0
1 changed files with 1 additions and 1 deletions
|
|
@ -34,10 +34,10 @@ export class Loader extends Text {
|
|||
) {
|
||||
super("", 1, 0);
|
||||
this.ui = ui;
|
||||
this.setIndicator(indicator);
|
||||
this.spinnerColorFn = spinnerColorFn;
|
||||
this.messageColorFn = messageColorFn;
|
||||
this.message = message;
|
||||
this.setIndicator(indicator);
|
||||
}
|
||||
|
||||
render(width: number): string[] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue