kopia lustrzana https://github.com/c9/core
fix resizing of output panes on windows
rodzic
00174eb668
commit
49fb42964c
|
@ -1562,7 +1562,7 @@ module.exports = function setup(fsOptions) {
|
||||||
// todo add resize event
|
// todo add resize event
|
||||||
proc.emit("data", {rows: rows, cols: cols});
|
proc.emit("data", {rows: rows, cols: cols});
|
||||||
|
|
||||||
if (!tmuxWarned) {
|
if (!tmuxWarned && !isWin) {
|
||||||
if (/v0\.([123456789]\..*|10\.(0|1|2[0-7]))/.test(process.version)) {
|
if (/v0\.([123456789]\..*|10\.(0|1|2[0-7]))/.test(process.version)) {
|
||||||
proc.emit("data", {
|
proc.emit("data", {
|
||||||
message: "Wrong Node.js version: " + process.version,
|
message: "Wrong Node.js version: " + process.version,
|
||||||
|
@ -2020,7 +2020,8 @@ module.exports = function setup(fsOptions) {
|
||||||
};
|
};
|
||||||
|
|
||||||
this.resize = function() {
|
this.resize = function() {
|
||||||
return pty.resize.apply(pty, arguments);
|
if (!exited)
|
||||||
|
return pty.resize.apply(pty, arguments);
|
||||||
};
|
};
|
||||||
|
|
||||||
// this.acknowledgeWrite = function(callback) {
|
// this.acknowledgeWrite = function(callback) {
|
||||||
|
|
Ładowanie…
Reference in New Issue