summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-03-22 19:34:14 -0600
committerGitHub <noreply@github.com>2023-03-22 19:34:14 -0600
commitf69e4794d2d016c8cdbf4a4de8affd0c92f2732c (patch)
treed1a722cb30385126af0408416095321381f4b041 /ext/node/polyfills/internal
parentd06fdf6add1b3c55fc5f4a24956f17a363d513a4 (diff)
chore: update ext/ code to only use ASCII (#18371)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Diffstat (limited to 'ext/node/polyfills/internal')
-rw-r--r--ext/node/polyfills/internal/cli_table.ts26
1 files changed, 13 insertions, 13 deletions
diff --git a/ext/node/polyfills/internal/cli_table.ts b/ext/node/polyfills/internal/cli_table.ts
index dd49a44a1..a3740d889 100644
--- a/ext/node/polyfills/internal/cli_table.ts
+++ b/ext/node/polyfills/internal/cli_table.ts
@@ -9,19 +9,19 @@ import { getStringWidth } from "ext:deno_node/internal/util/inspect.mjs";
// core to verify that Unicode characters work in built-ins.
// Refs: https://github.com/nodejs/node/issues/10673
const tableChars = {
- middleMiddle: "─",
- rowMiddle: "┼",
- topRight: "┐",
- topLeft: "┌",
- leftMiddle: "├",
- topMiddle: "┬",
- bottomRight: "┘",
- bottomLeft: "└",
- bottomMiddle: "┴",
- rightMiddle: "┤",
- left: "│ ",
- right: " │",
- middle: " │ ",
+ middleMiddle: "\u2500",
+ rowMiddle: "\u253c",
+ topRight: "\u2510",
+ topLeft: "\u250c",
+ leftMiddle: "\u251c",
+ topMiddle: "\u252c",
+ bottomRight: "\u2518",
+ bottomLeft: "\u2514",
+ bottomMiddle: "\u2534",
+ rightMiddle: "\u2524",
+ left: "\u2502 ",
+ right: " \u2502",
+ middle: " \u2502 ",
};
const renderRow = (row: string[], columnWidths: number[]) => {