Fix scan-analyze box drawing

Non-matching up-and-right character made some fonts display scan-analyze oddly.
This commit is contained in:
omuretsu 2023-07-13 08:12:16 -04:00
parent 8b008e1b7a
commit fb542a596c

@ -503,7 +503,7 @@ export class Terminal {
const root = makeNode(Player.getCurrentServer().hostname, Player.getCurrentServer());
const printOutput = (node: Node, prefix = [" "], last = true) => {
const titlePrefix = prefix.slice(0, prefix.length - 1).join("") + (last ? " " : "┣ ");
const titlePrefix = prefix.slice(0, prefix.length - 1).join("") + (last ? " " : "┣ ");
const infoPrefix = prefix.join("") + (node.children.length > 0 ? "┃ " : " ");
if (Player.hasProgram(CompletedProgramName.autoLink)) {
this.append(new Link(titlePrefix, node.hostname));