mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-23 09:06:10 +00:00
[ui] Activate the Output view.
- When new output arrives from the daemon. - Make sure, the current output channel is selected before appending any message to it. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
committed by
Christian Weichel
parent
ab214f8426
commit
e14ac4a396
@@ -33,13 +33,13 @@ export class ArduinoDaemon implements BackendApplicationContribution {
|
||||
});
|
||||
if (daemon.stdout) {
|
||||
daemon.stdout.on('data', data => {
|
||||
this.toolOutputService.publishNewOutput("daemon", data.toString());
|
||||
this.toolOutputService.publishNewOutput('daemon', data.toString());
|
||||
DaemonLog.log(this.logger, data.toString());
|
||||
});
|
||||
}
|
||||
if (daemon.stderr) {
|
||||
daemon.stderr.on('data', data => {
|
||||
this.toolOutputService.publishNewOutput("daemon error", data.toString());
|
||||
this.toolOutputService.publishNewOutput('daemon error', data.toString());
|
||||
DaemonLog.log(this.logger, data.toString());
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user