From d7e7f48aaa5edf27c94f2ab8485c0d331a440130 Mon Sep 17 00:00:00 2001 From: Pirmin Kalberer Date: Thu, 19 Sep 2019 20:45:58 +0200 Subject: [PATCH] Deactivate fuzzy search on Windows for now --- src/cli.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli.rs b/src/cli.rs index 36ef87dcb7..fb158b1af6 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -336,6 +336,7 @@ pub async fn cli() -> Result<(), Box> { // Register Ctrl-r for history fuzzy search // rustyline doesn't support custom commands, so we override Ctrl-D (EOF) + #[cfg(not(windows))] // https://github.com/nushell/nushell/issues/689 rl.bind_sequence(rustyline::KeyPress::Ctrl('R'), rustyline::Cmd::EndOfFile); // Redefine Ctrl-D to same command as Ctrl-C rl.bind_sequence(rustyline::KeyPress::Ctrl('D'), rustyline::Cmd::Interrupt);