From 6f694b5db55eb32cf90241f2077145d9d87eb495 Mon Sep 17 00:00:00 2001 From: RezaKargar Date: Thu, 16 Sep 2021 13:15:37 +0430 Subject: [PATCH] Fix space issue between command sections This commit fixes #134 --- js/controlbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/controlbox.js b/js/controlbox.js index c9761bf..932c196 100644 --- a/js/controlbox.js +++ b/js/controlbox.js @@ -305,7 +305,7 @@ function(_yargs, d3, demos) { return } - var split = entry.split(' '); + var split = entry.split(' ').filter(section => section.trim().length > 0); this.terminalOutput.append('div') .classed('command-entry', true)