fix: terminal color glitches (#1377)

This commit is contained in:
Marvin Hagemeister
2023-06-30 18:42:39 +02:00
committed by GitHub
parent 4de9394547
commit 2dc23dd66c
+3 -4
View File
@@ -80,13 +80,12 @@ export async function start(routes: Manifest, opts: StartOptions = {}) {
if (!opts.onListen) { if (!opts.onListen) {
opts.onListen = (params) => { opts.onListen = (params) => {
console.log();
console.log( console.log(
colors.bgRgb8(colors.black(colors.bold("\n 🍋 Fresh ready ")), 121), colors.bgRgb8(colors.black(colors.bold(" 🍋 Fresh ready ")), 121),
); );
const address = colors.cyan( const address = colors.cyan(`http://localhost:${params.port}/`);
`http://localhost:${params.port}/`,
);
const localLabel = colors.bold("Local:"); const localLabel = colors.bold("Local:");
console.log(` ${localLabel} ${address}\n`); console.log(` ${localLabel} ${address}\n`);
}; };