mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 23:58:06 +02:00
check signals in nu-glob
and ls
(#15140)
Fixes #10144 # User-Facing Changes Long running glob expansions and `ls` runs (e.g. `ls /**/*`) can now be interrupted with ctrl-c.
This commit is contained in:
@ -231,7 +231,7 @@ impl Playground<'_> {
|
||||
}
|
||||
|
||||
pub fn glob_vec(pattern: &str) -> Vec<std::path::PathBuf> {
|
||||
let glob = glob(pattern);
|
||||
let glob = glob(pattern, None);
|
||||
|
||||
glob.expect("invalid pattern")
|
||||
.map(|path| {
|
||||
|
Reference in New Issue
Block a user