Merge branch '4182_cmdline_update'

* 4182_cmdline_update:
  Ticket #4182: fix command line update.
This commit is contained in:
Andrew Borodin 2021-01-24 14:27:15 +03:00
commit 09e904bf3d

View File

@ -956,7 +956,6 @@ panels_split_less (void)
/* --------------------------------------------------------------------------------------------- */
void
setup_cmdline (void)
{
@ -965,6 +964,9 @@ setup_cmdline (void)
int y;
char *tmp_prompt = (char *) mc_prompt;
if (!command_prompt)
return;
#ifdef ENABLE_SUBSHELL
if (mc_global.tty.use_subshell)
{