<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>Terminal emulators don't send anything special on Ctrl-(Shift-)Enter, they can only send the same newline they do on Enter.<br><br></div>MC has a hack called X11 support: Whenever it receives a newline from the terminal emulator, it queries the X server whether any modifier is pressed at that time. That's how Ctrl-(Shift-)Enter can have different actions.<br><br></div>Give it a try under X11: do an "unset DISPLAY" and then start up "mc", these keys won't work specially anymore because mc can no longer find the X server.<br><br></div>xterm still runs via the X compatibility layer called XWayland, that's why this hack still works there. GNOME Terminal, on the other hand, is a native Wayland app (if run under Wayland), there's no X server involved to connect to and query.<br><br></div>I'm almost certain that Wayland's security model doesn't allow the same hack; but even if it does, it's not (yet) implemented in mc.<br><div><div><div><div><div><div><br></div><div>Alt-Enter should still do the same as Ctrl-Enter used to do with the X11 hack, since in that case the terminal emulator sends a different sequence. I think the best you can do now is get used to Alt-Enter.</div><div><br></div><div>I don't know off the top of my head how to bind some keypress to Ctrl-Shift-Enter's action, and wherever it's possible at all; you should consult mc's documentation. I guess mc should add some alternate keybinding by default.<br></div><div><br></div><div>mc's manual mentions at C-Enter and C-Shift-Enter that "[m]ay not work on remote systems and some terminals"</div><div><br></div><div>cheers,</div><div>egmont<br></div></div></div></div></div></div></div>