Loading CHANGES.md +8 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,14 @@ Version 1.8.5 To be released. ### @fedify/cli - Fixed `fedify nodeinfo` color support in Windows Terminal. [[#358], [#360] by KeunHyeong Park] [#358]: https://github.com/fedify-dev/fedify/issues/358 [#360]: https://github.com/fedify-dev/fedify/pull/360 Version 1.8.4 ------------- Loading packages/cli/src/nodeinfo.ts +8 −0 Original line number Diff line number Diff line Loading @@ -299,6 +299,14 @@ function checkTerminalColorSupport(): "truecolor" | "256color" | "none" { return "256color"; } // Check for Windows Terminal support // FIXME: WT_SESSION is not a reliable way to check for Windows Terminal support const isWindows = Deno.build.os === "windows"; const isWT = Deno.env.get("WT_SESSION"); if (isWindows && isWT != null && isWT !== "") { return "truecolor"; } return "none"; } Loading Loading
CHANGES.md +8 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,14 @@ Version 1.8.5 To be released. ### @fedify/cli - Fixed `fedify nodeinfo` color support in Windows Terminal. [[#358], [#360] by KeunHyeong Park] [#358]: https://github.com/fedify-dev/fedify/issues/358 [#360]: https://github.com/fedify-dev/fedify/pull/360 Version 1.8.4 ------------- Loading
packages/cli/src/nodeinfo.ts +8 −0 Original line number Diff line number Diff line Loading @@ -299,6 +299,14 @@ function checkTerminalColorSupport(): "truecolor" | "256color" | "none" { return "256color"; } // Check for Windows Terminal support // FIXME: WT_SESSION is not a reliable way to check for Windows Terminal support const isWindows = Deno.build.os === "windows"; const isWT = Deno.env.get("WT_SESSION"); if (isWindows && isWT != null && isWT !== "") { return "truecolor"; } return "none"; } Loading