kopia lustrzana https://github.com/c9/core
fix another error in terminal test
rodzic
d13dc1fd3d
commit
a4d6876baa
|
@ -645,7 +645,7 @@ define(function(require, exports, module) {
|
||||||
if (!e && data) {
|
if (!e && data) {
|
||||||
session.terminal.setOutputHistory(data, true);
|
session.terminal.setOutputHistory(data, true);
|
||||||
session.getStatus({clients: true}, function(e, status) {
|
session.getStatus({clients: true}, function(e, status) {
|
||||||
if (e) return;
|
if (e || !status) return;
|
||||||
if (status.clients && status.clients.length > 0) {
|
if (status.clients && status.clients.length > 0) {
|
||||||
var terminal = session.terminal;
|
var terminal = session.terminal;
|
||||||
var rows = terminal.rows;
|
var rows = terminal.rows;
|
||||||
|
|
Ładowanie…
Reference in New Issue