ng-terminal-emulator
ng-terminal-emulator copied to clipboard
Allow setting additional class for new terminal line
Through the property className in the broadcast command 'terminal-output' an additional class can be specified which allows e.g. coloured output.
Example: $scope.$broadcast('terminal-output', { output: true, text: [ res.output ], className: 'bg-danger', breakLine: true });