Is there an existing issue for this?
Midnight Commander version and build configuration
- 4.8.33
- 4.8.33-402-g723392f61
Operating system
Is this issue reproducible using 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.
Is there an existing issue for this?
Midnight Commander version and build configuration
Operating system
Is this issue reproducible using 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.