The order of installation of packages like this.
In the Midnight Commander window the mouse biter didn't work.
I replaced the ncurses version from 6.1 to 6.0.
The mouse began to work. But Midnight Commander did not understand the color schemes of 256 colors.
I installed Slang and recompiled Midnight Commander with the --with-screen=slang option.
After that, Midnight Commander works as I need.