Update dependencies and remove now unnecessary webterminal resize hint

This commit is contained in:
Johannes Zellner
2022-09-20 08:44:57 +02:00
parent f25158b295
commit d3fee6f35b
3 changed files with 91 additions and 91 deletions
+3 -3
View File
@@ -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();