From 27a508d418997a27c5c0bada659d1430d6f9686a Mon Sep 17 00:00:00 2001 From: maxomatic458 <104733404+maxomatic458@users.noreply.github.com> Date: Sat, 20 Jan 2024 15:39:20 +0100 Subject: [PATCH] update reedline (#11589) update to support the latest reedline changes from https://github.com/nushell/reedline/pull/696 --- Cargo.lock | 2 +- crates/nu-cli/src/menus/description_menu.rs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index ebf05dc5d1f59..f53b92b6791c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4517,7 +4517,7 @@ dependencies = [ [[package]] name = "reedline" version = "0.28.0" -source = "git+https://github.com/nushell/reedline?branch=main#2f3eb3e82f30ce3b1bb3f2b826071ec8cc278687" +source = "git+https://github.com/nushell/reedline?branch=main#31eaeeb231664b889c92595ff38ead4ccb570766" dependencies = [ "arboard", "chrono", diff --git a/crates/nu-cli/src/menus/description_menu.rs b/crates/nu-cli/src/menus/description_menu.rs index 11d7c760681e9..4f748622d64a0 100644 --- a/crates/nu-cli/src/menus/description_menu.rs +++ b/crates/nu-cli/src/menus/description_menu.rs @@ -731,4 +731,8 @@ impl Menu for DescriptionMenu { ) } } + + fn set_cursor_pos(&mut self, _pos: (u16, u16)) { + // The Description Menu does not need the cursor position + } }