typicode / hotel

🏩 A simple process manager for developers. Start apps from your browser and access them using local domains
MIT License
9.98k stars 422 forks source link

Strange formatting of console output #341

Closed aparajita closed 1 year ago

aparajita commented 5 years ago

Here's the output in Terminal:

Screen Shot 2019-07-27 at 5 44 16 PM

Here's the analogous output in the hotel's browser view:

Screen Shot 2019-07-27 at 5 43 59 PM

Two issues with the hotel output:

  1. "[message-server]" is truncated to "essage-server]".
  2. There are two spaces before "info", there should only be one.
mnpenner commented 4 years ago

The colors are a little off too.

Terminal:

Hotel:

The triangle is not colored, and the link is not blue.

For reference, that line is colored with chalk:

console.log(`${Chalk.green('▲')} Listening on ${Chalk.blue(`http://${ip}:${port}`)}`);