mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00: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