mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-08 09:58:34 +00:00
switch to the corresponding channel on message.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -15,6 +15,7 @@ export class ToolOutputServiceClientImpl implements ToolOutputServiceClient {
|
|||||||
onNewOutput(tool: string, chunk: string): void {
|
onNewOutput(tool: string, chunk: string): void {
|
||||||
this.outputContribution.openView().then(() => {
|
this.outputContribution.openView().then(() => {
|
||||||
const channel = this.outputChannelManager.getChannel(`Arduino: ${tool}`);
|
const channel = this.outputChannelManager.getChannel(`Arduino: ${tool}`);
|
||||||
|
channel.show();
|
||||||
channel.append(chunk);
|
channel.append(chunk);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user