Ticket #4182: fix command line update.

(setup_cmdline): don't update command line if it's invisible.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2021-01-23 20:35:11 +03:00
parent 25bc8a64d9
commit 653961523c

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)
{