Copy text from terminal doesn't work without using the context menu
-
Hello,
when I try to copy text via CTRL + C in Cloudron's terminal, no text is copied. I need to do a right click to open the context menu and then I have to choose copy. This happens with latest Firefox. This would be nice to get improved, e. g. when you have to print out the DB environment credentials and want to copy + paste them.
Best Regards,
-
So Ctrl+c already means to send the SIGINT signal to the current process, mostly to tell the active process to terminate (but can be used otherwise). This means we can't use that to copy and currently fallback to mouse interaction. Lets see, if I can get Ctrl+Shift+C to copy text, which is at least how the terminals I use on Linux work.
-
-
E. g. when I do it in putty, it does cancel the command/causes a new line but also triggers a copy from the OS. So maybe it can be linked (CTRL + SHIFT + C would be fine as well). That you shouldn't trigger copy and cancel at same time, when you execute some command, should be obvious (same pitfall as with other clients).
-
I don't really understand the issue - you have to use the mouse for selecting the text, in any event. Isn't it quicker to then right click and click copy with the input device you're currently using; instead of moving using a different input device to copy text?
Development and error-fixing capacities are a scarce resource - maybe focus them on something important?
-
@girish said in Copy text from terminal doesn't work without using the context menu:
Rereading, maybe you meant that we should put any selected text into clipboard. If so, that would be non conventional.
And may not work on the macOS / Safari... (security settings)
-