Open kernelwernel opened 1 year ago
So, I essentially want to add something before the spinner, like this:
┌─[ (spinner animation) Loading modules... └──> Done!
I know how to edit the second line but I just can't figure out a way to put something behind the animation. This is what I tried:
console.log("┌─[ ") var spinner = await term.spinner('dotSpinner'); console.log("Loading modules...");
@Existential-Kernel you need to use term instead of console.log, for your situation use:
term
console.log
await term('┌─[ ').spinner('dotSpinner'); term(' Loading modules...'); // some work here... term('\n└──> Done!');
So, I essentially want to add something before the spinner, like this:
I know how to edit the second line but I just can't figure out a way to put something behind the animation. This is what I tried: