Skip to content

Commit

Permalink
Fix space issue between command sections
Browse files Browse the repository at this point in the history
This commit fixes git-school#134
  • Loading branch information
RezaKargar authored and jmegner committed Jun 26, 2022
1 parent 216cf9c commit 2b25d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/controlbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2b25d1e

Please sign in to comment.