Skip to content

Commit

Permalink
fix: terminal color glitches
Browse files Browse the repository at this point in the history
This was caused by the newline.
  • Loading branch information
marvinhagemeister committed Jun 30, 2023
1 parent 4de9394 commit d31e77a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/server/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,12 @@ export async function start(routes: Manifest, opts: StartOptions = {}) {

if (!opts.onListen) {
opts.onListen = (params) => {
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(
`http://localhost:${params.port}/`,
);
const address = colors.cyan(`http://localhost:${params.port}/`);
const localLabel = colors.bold("Local:");
console.log(` ${localLabel} ${address}\n`);
};
Expand Down

0 comments on commit d31e77a

Please sign in to comment.