mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 08:43:53 +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:
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));
|
||||
|
Loading…
Reference in New Issue
Block a user