From 3c63136f8ecb12c30a1e6217c1dc2e4f598baf51 Mon Sep 17 00:00:00 2001 From: Lukas Geiger Date: Sat, 15 Apr 2017 21:04:46 +0200 Subject: [PATCH] Fix: Respect console setting in PlatformIO Terminal --- lib/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index 03602d7..310114c 100644 --- a/lib/main.js +++ b/lib/main.js @@ -91,7 +91,8 @@ const HydrogenLauncher = { const connectionFile = this.getConnectionFile(); if (!connectionFile) return; - term.getConnectionCommand(connectionFile, (err, command) => { + const jpConsole = atom.config.get('hydrogen-launcher.console'); + term.getConnectionCommand(connectionFile, jpConsole, (err, command) => { if (!this.platformIoTerminal) { atom.notifications.addError('PlatformIO IDE Terminal has to be installed.'); } else if (err) {