mirror of
https://github.com/nushell/nushell
synced 2024-11-11 15:37:07 +00:00
Windows speaks \r
This commit is contained in:
parent
5ca9d307c6
commit
c7531d6b3d
1 changed files with 2 additions and 1 deletions
|
@ -36,6 +36,7 @@ macro_rules! nu {
|
|||
}
|
||||
}
|
||||
|
||||
let _s = _s.replace("\r\n", "");
|
||||
let $out = _s.replace("\n", "");
|
||||
};
|
||||
}
|
||||
|
@ -79,4 +80,4 @@ pub fn executable_path() -> PathBuf {
|
|||
|
||||
pub fn in_directory(str: &str) -> &str {
|
||||
str
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue