in the topic about
tmux , the question was raised about the inoperability of the mouse in the case when mc is running in a tmux or screen session.
After a little research on the
init_xterm_support function, it turned out that you can enable mouse support without rebuilding mc right now, it is enough “right” (as expected by mc) to set the variable COLORTERM.
')
Thus, if you need the mouse to work normally, put the following lines in the
~ / .profile file
if [ $TERM = "screen" ]; then export TERM=xterm fi if [ -n "$TMUX" ]; then export COLORTERM=rxvt fi
You can also track the solution of the problem in the corresponding ticket here
www.midnight-commander.org/ticket/2479
PS: I would be glad if someone this information is useful ...
UPD: forgot to add what is desirable to add to ~ / .tmux.conf
next line.
setw -g xterm-keys on
if this is not done then the combination of shift-arrows, shift-Fx will not work ...