mirror of
https://github.com/nushell/nushell.git
synced 2024-12-22 07:02:19 +01:00
Windows speaks \r
This commit is contained in:
parent
5ca9d307c6
commit
c7531d6b3d
@ -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 New Issue
Block a user