mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 10:33:54 +00:00
feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
fa9e7aab6d
commit
70bc0eb72b
12 changed files with 43 additions and 50 deletions
|
@ -3303,7 +3303,7 @@ fn set_raw_should_not_panic_on_no_tty() {
|
|||
let output = util::deno_cmd()
|
||||
.arg("eval")
|
||||
.arg("--unstable")
|
||||
.arg("Deno.setRaw(Deno.stdin.rid, true)")
|
||||
.arg("Deno.stdin.setRaw(true)")
|
||||
// stdin set to piped so it certainly does not refer to TTY
|
||||
.stdin(std::process::Stdio::piped())
|
||||
// stderr is piped so we can capture output.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue