mirror of
https://github.com/denoland/deno.git
synced 2025-01-20 20:42:19 -05:00
Merge 1f04d843dd
into 0d3d4f5466
This commit is contained in:
commit
a7451b60c1
1 changed files with 10 additions and 0 deletions
|
@ -964,6 +964,11 @@ internals.__bootstrapNodeProcess = function (
|
|||
"stdout",
|
||||
);
|
||||
}
|
||||
if (stdout.isTTY) {
|
||||
Deno.addSignalListener("SIGWINCH", () => {
|
||||
stdout.emit("resize");
|
||||
});
|
||||
}
|
||||
|
||||
if (!io.stderr.isTerminal()) {
|
||||
/** https://nodejs.org/api/process.html#process_process_stderr */
|
||||
|
@ -972,6 +977,11 @@ internals.__bootstrapNodeProcess = function (
|
|||
"stderr",
|
||||
);
|
||||
}
|
||||
if (stderr.isTTY) {
|
||||
Deno.addSignalListener("SIGWINCH", () => {
|
||||
stderr.emit("resize");
|
||||
});
|
||||
}
|
||||
|
||||
arch = arch_();
|
||||
platform = isWindows ? "win32" : Deno.build.os;
|
||||
|
|
Loading…
Add table
Reference in a new issue