Browse Source

use carriage return for terminal (#3721)

Ensures that it works on all terminals (powershell).
Vidar Tonaas Fauske 7 years ago
parent
commit
84d7e42ee2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/terminal/src/widget.ts

+ 1 - 1
packages/terminal/src/widget.ts

@@ -104,7 +104,7 @@ class Terminal extends Widget {
       if (this._initialCommand) {
         this._session.send({
           type: 'stdin',
-          content: [this._initialCommand + '\n']
+          content: [this._initialCommand + '\r']
         });
       }
     });