From 05aa0d6991820625189c7e367a6d033682ef4e4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Fri, 5 Mar 2021 17:55:06 +0900 Subject: [PATCH] minor: dead code --- helix-term/src/commands.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index e6b7cebda..4a5f10075 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -797,10 +797,6 @@ pub fn delete_char_forward(cx: &mut Context) { } } -pub fn insert_char_prompt(prompt: &mut Prompt, c: char) { - prompt.insert_char(c); -} - // Undo / Redo // TODO: each command could simply return a Option, then the higher level handles