fix: init banner not colored in ansi256 terminals (#1456)
This basically uses the same fix as #1377 and #1323 for the init script. Before: <img width="505" alt="Screenshot 2023-07-12 at 22 18 29" src="https://github.com/denoland/fresh/assets/1062408/e77c3110-d3e2-479e-8381-c67c39e216fa"> After: <img width="446" alt="Screenshot 2023-07-12 at 22 18 38" src="https://github.com/denoland/fresh/assets/1062408/debda939-bdce-4890-8dfb-265a4e1b8328">
This commit is contained in:
+1
-2
@@ -1,7 +1,6 @@
|
||||
import { ServerContext } from "./context.ts";
|
||||
import * as colors from "https://deno.land/std@0.193.0/fmt/colors.ts";
|
||||
export { Status } from "./deps.ts";
|
||||
import { serve } from "./deps.ts";
|
||||
import { colors, serve } from "./deps.ts";
|
||||
import {
|
||||
AppModule,
|
||||
ErrorPageModule,
|
||||
|
||||
Reference in New Issue
Block a user