Skip to content

Sometimes the prompt isn't displayed when turning the panels off #4843

@egmontkob

Description

@egmontkob

Is there an existing issue for this?

  • I have searched the existing issues

Midnight Commander version and build configuration

- 4.8.33
- 4.8.33-402-g723392f61

Operating system

Ubuntu 25.10

Is this issue reproducible using the latest version of Midnight Commander?

  • I confirm the issue is still reproducible with the latest version of Midnight Commander

How to reproduce

Start mc, press Ctrl-O many times to toggle the panels on/off.

Expected behavior

When the panels are turned off, the subshell prompt should display.

Actual behavior

In about 10-20% of the cases, the subshell prompt isn't displayed.

(It sometimes appears briefly when you press another Ctrl-O to bring back the panels, before the panels actually appear. I guess this also depends on timings, and is subject to the terminal emulator actually painting that brief intermediate state.)

Additional context

The recent change of showing the first prompt in colors seems to be irrelevant. My pending big PR doesn't fix this either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues not related to a specific subsystemprio: mediumHas the potential to affect progress

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions