Do not submit injected commands right away but give some space and fix

focus
This commit is contained in:
Johannes Zellner
2017-08-18 20:31:07 +02:00
parent 6c2879d567
commit e3040b334d

View File

@@ -143,9 +143,10 @@ angular.module('Application').controller('DebugController', ['$scope', '$locatio
if (!cmd) return;
cmd += '\n';
cmd += ' ';
$scope.terminalSocket.send(cmd);
$scope.terminal.focus();
}
$scope.$watch('selected', function (newVal) {