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)