diff --git a/src/commandline.js b/src/commandline.js index b26606db..f14b88b8 100644 --- a/src/commandline.js +++ b/src/commandline.js @@ -47,11 +47,12 @@ Command.prototype.getSandboxCommands = function() { "); }], [/^git$/, function() { - throw new CommandResult("\ - Git Version PCOTTLE.1.0\ - Usage:\ + throw new CommandResult(_.escape("\ + Git Version \n \ + PCOTTLE.1.0 \ + Usage: \n \ git [] \ - "); + ")); }] ]; }; diff --git a/src/style/main.css b/src/style/main.css index 9d0f3b6d..df585acc 100644 --- a/src/style/main.css +++ b/src/style/main.css @@ -35,6 +35,14 @@ p.commandLine { margin: 2px; } +p.commandResult { + color: blue; +} + +p.commandError { + color: red; +} + span.arrows { color: greenyellow; font-weight: bold; diff --git a/src/views.js b/src/views.js index c13ead01..54069ab0 100644 --- a/src/views.js +++ b/src/views.js @@ -81,7 +81,7 @@ var CommandLineHistoryView = Backbone.View.extend({ '; this.resultTemplate = ' \ -

\ +

\ <%= result %> \

\ ';