mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
chore(tests): fix typo in pty.rs (#12757)
This commit is contained in:
parent
28dbb4a95e
commit
dd91ecef50
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ mod windows {
|
|||
|
||||
impl Pty for WinPseudoConsole {
|
||||
fn write_text(&mut self, text: &str) {
|
||||
// windows psuedo console requires a \r\n to do a newline
|
||||
// windows pseudo console requires a \r\n to do a newline
|
||||
let newline_re = regex::Regex::new("\r?\n").unwrap();
|
||||
self
|
||||
.write_all(newline_re.replace_all(text, "\r\n").as_bytes())
|
||||
|
|
Loading…
Reference in a new issue