fix: incorrect coloring in ansi256 terminals (#1323)
This commit is contained in:
+5
-4
@@ -80,11 +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(
|
||||||
`\n%c 🍋 Fresh ready %c`,
|
colors.bgRgb8(colors.black(colors.bold("\n 🍋 Fresh ready ")), 121),
|
||||||
"background-color: #86efac; color: black; font-weight: bold",
|
);
|
||||||
"",
|
|
||||||
|
const address = colors.cyan(
|
||||||
|
`http://localhost:${params.port}/`,
|
||||||
);
|
);
|
||||||
const address = colors.cyan(`http://localhost:${params.port}/`);
|
|
||||||
const localLabel = colors.bold("Local:");
|
const localLabel = colors.bold("Local:");
|
||||||
console.log(` ${localLabel} ${address}\n`);
|
console.log(` ${localLabel} ${address}\n`);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user