mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-07 19:14:37 +01:00
Fix scan-analyze box drawing
Non-matching up-and-right character made some fonts display scan-analyze oddly.
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user