When using interactive terminal applications such as Midnight Commander (mc), the mouse is typically captured by the application.
This means that normal mouse selection and right-click copy may not work as they do in a regular shell session.
In normal SSH shells, you can easily mark text with your mouse and use the context menu or keyboard shortcuts to copy it to your clipboard.
However, when you launch a terminal-based UI like Midnight Commander, nano, or htop, the mouse input is taken over by that application — making text selection for copy/paste unavailable.
Shellngn provides a special modifier key that temporarily releases the mouse control back to the terminal, allowing you to select and copy text again.
To copy text while using Midnight Commander or similar applications:
Hold the ALT
key.
While holding ALT
, use your mouse to select the text you want to copy.
Right-click → Copy or use your system’s keyboard shortcut (Ctrl+C
/ Cmd+C
).
This lets you easily copy any text or command output even when the mouse is being captured by a full-screen terminal application.