Pretty-print "Running at ..." header

This commit is contained in:
n loewen 2023-08-01 12:00:20 +01:00
parent a41a1671fc
commit d0a6ca886b
1 changed files with 4 additions and 2 deletions

View File

@ -176,8 +176,10 @@ exports.runProgram = (code) => {
console.log();
console.log("————————————————————————————————————————");
let time = new Date();
console.log( `Running at ${time.toLocaleTimeString('en-US')}` );
console.log("————————————————————————————————————————");
console.log( `┌─────────────────────┐`);
// Running at 11:48:15 AM
console.log( `│ Running at ${time.toLocaleTimeString('en-GB')}` );
console.log( `└─────────────────────┘`);
logCPUState();
CPU.running = true;