-
-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Is there an existing issue for this?
- I have searched the existing issues
Midnight Commander version and build configuration
4.8.33, gitOperating system
.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
Skin support appeared 16 years ago.
The --colors option is heavily lagging behind, both in the name of the recognized keywords, as well as documentation. I am pretty sure none of us feels like updating it.
Over time, conflicting keywords have also appeared in the skin file, under different sections. We have [menu]/menusel and [popupmenu]/menusel in the skins, they can't simply be flattened and both called menusel in the flat structure of the commandline option.
The ever-increasing number of colors makes it less and less useful to be able to override a few individual ones, or specifying an entire color scheme via this option. It's easier to copy a skin file to ~/.local/share/mc/skins and edit it.
Can we just simply remove the --colors command line feature?
Or if not then somehow we'd need modernize to automatically (without us ever having to maintain it manually) recognize all the skin file keywords, with their section names included, such as --colors core/selected=blue,green:menu/menusel=red,black etc.? Which would be a backwards incompatible change anyway. Is it worth it?
Expected behavior
.
Actual behavior
.
Additional context
No response