Skip to content

Commit

Permalink
Merge pull request #30 from PayMeService/bugfix/xterm-new-line
Browse files Browse the repository at this point in the history
xterm new line fix
  • Loading branch information
o-kima authored Aug 7, 2024
2 parents eccb5c9 + 72bb9fd commit 639f29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/scripts.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
$scope.locationPath($scope.log.uuid);
console.log(response.data);
term.clear();
term.write(response.data.content.join("\n"));
response.data.content.forEach((line) => term.writeln(line));
if (!response.data.isEnded) {
$timeout( function(){ $scope.readLog(); }, 1000);
}
Expand Down

0 comments on commit 639f29b

Please sign in to comment.