diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index e6b7cebd..4a5f1007 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -797,10 +797,6 @@ pub mod insert {
     }
 }
 
-pub fn insert_char_prompt(prompt: &mut Prompt, c: char) {
-    prompt.insert_char(c);
-}
-
 // Undo / Redo
 
 // TODO: each command could simply return a Option<transaction>, then the higher level handles