From 8115fba3672a128fcd60d0c3bcee049898785ff7 Mon Sep 17 00:00:00 2001 From: "Nils \"Linkpy\" Reid" Date: Tue, 27 Oct 2020 17:44:45 +0100 Subject: [PATCH] Clarify the function of the extra integer given by the debugger (#245) This closes #242. --- src/debugger/mediator.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/debugger/mediator.ts b/src/debugger/mediator.ts index ecbbe6e..75678cd 100644 --- a/src/debugger/mediator.ts +++ b/src/debugger/mediator.ts @@ -29,7 +29,13 @@ export class Mediator { let lines: string[] = parameters; lines.forEach((line) => { - this.output.appendLine(line); + let message_content: string = line[0]; + //let message_kind: number = line[1]; + + // OutputChannel doesn't give a way to distinguish between a + // regular string (message_kind == 0) and an error string (message_kind == 1). + + this.output.appendLine(message_content); }); break;