mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-09-18 20:08:32 +02: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 root = makeNode(Player.getCurrentServer().hostname, Player.getCurrentServer());
|
||||||
|
|
||||||
const printOutput = (node: Node, prefix = [" "], last = true) => {
|
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 ? "┃ " : " ");
|
const infoPrefix = prefix.join("") + (node.children.length > 0 ? "┃ " : " ");
|
||||||
if (Player.hasProgram(CompletedProgramName.autoLink)) {
|
if (Player.hasProgram(CompletedProgramName.autoLink)) {
|
||||||
this.append(new Link(titlePrefix, node.hostname));
|
this.append(new Link(titlePrefix, node.hostname));
|
||||||
|
Loading…
Reference in New Issue
Block a user