now preventing async readline clutter
This commit is contained in:
@ -31,6 +31,12 @@ export let start = function(moduleNameArg:string = "",loaderLengthArg:string = "
|
||||
export let stop = function(){
|
||||
if(doAnimation){
|
||||
earlyChild.kill();
|
||||
let rl = readline.createInterface({
|
||||
input: process.stdin,
|
||||
output: process.stdout
|
||||
});
|
||||
rl.write(null, {ctrl: true, name: 'u'});
|
||||
rl.close();
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user