Update dependencies and remove now unnecessary webterminal resize hint
This commit is contained in:
+3
-3
@@ -218,9 +218,9 @@ angular.module('Application').controller('TerminalController', ['$scope', '$tran
|
||||
if (!$scope.terminal) return;
|
||||
|
||||
// this is here so that the text wraps correctly after the fit!
|
||||
var YELLOW = '\u001b[33m'; // https://gist.github.com/dainkaplan/4651352
|
||||
var NC = '\u001b[0m';
|
||||
$scope.terminal.writeln(YELLOW + 'If you resize the browser window, press Ctrl+D to start a new session with the current size.' + NC);
|
||||
// var YELLOW = '\u001b[33m'; // https://gist.github.com/dainkaplan/4651352
|
||||
// var NC = '\u001b[0m';
|
||||
// $scope.terminal.writeln(YELLOW + 'If you resize the browser window, press Ctrl+D to start a new session with the current size.' + NC);
|
||||
|
||||
// we have to first write something on reconnect after app restart..not sure why
|
||||
$scope.fitAddon.fit();
|
||||
|
||||
Reference in New Issue
Block a user