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 committed Sep 16, 2021
1 parent f929861 commit 6f694b5
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 6f694b5

Please sign in to comment.