mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-07 10:54:29 +03:00
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:
parent
25bc8a64d9
commit
653961523c
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user