From 8e3fb447a2d4299fd0a81155aec968333760ab36 Mon Sep 17 00:00:00 2001 From: ysthakur <45539777+ysthakur@users.noreply.github.com> Date: Fri, 5 Jan 2024 12:02:07 -0500 Subject: [PATCH] Treat input as '' if None --- src/menu/columnar_menu.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/menu/columnar_menu.rs b/src/menu/columnar_menu.rs index 9e45adb7..b0b571a6 100644 --- a/src/menu/columnar_menu.rs +++ b/src/menu/columnar_menu.rs @@ -533,6 +533,8 @@ impl Menu for ColumnarMenu { self.values = completer.complete(input, start + input.len()); self.reset_position(); } + } else { + self.values = completer.complete("", editor.insertion_point()); } } else { // If there is a new line character in the line buffer, the completer