input: handle the implant() function separately also for the prompt

To prevent getting kicked out of it.

This fixes https://savannah.gnu.org/bugs/?53234.
master
Benno Schulenberg 2018-02-27 13:18:21 +01:00
parent 01457ae3d3
commit d9ac785a07
1 changed files with 4 additions and 0 deletions

View File

@ -152,6 +152,10 @@ int do_statusbar_input(bool *finished)
shortcut->func == do_delete ||
shortcut->func == do_backspace))
;
#ifdef ENABLE_NANORC
else if (shortcut->func == implant)
execute(shortcut);
#endif
else if (shortcut->func == do_verbatim_input)
do_statusbar_verbatim_input();
else if (shortcut->func == do_cut_text_void)