>If I press Ctrl+C while I'm highlighting text, copy it.
>If I press Ctrl+C while I'm not highlighting text, send a keyboard interrupt.
Which Linux terminal emulators support this behavior?
Windows Terminal does this by default and it's great. I can't find one on Linux that does.
>If I press Ctrl+C while I'm highlighting text, copy it.
Falling into your wing while paragliding is called 'gift wrapping' and turns you into a dirt torpedo pic.twitter.com/oQFKsVISkI
— Mental Videos (@MentalVids) March 15, 2023
that sounds annoying as hell
That's how both of the Windows terminals work which judging by OP's pic is why he wants the behavior.
>YOU CAN'T BE NORMAL IT'S ANNOYING
Linux users
Linux doesn't even have a clipboard. How the fuck would copy & pasting work?
xclip
Retard read xorg docs
There are two clipboards in x11 the windows style one that the WM manages and the old style unix one that stores the last or currently highlighted text that is pretty low level and tied pretty deep into xorg and works pretty much anywhere. By convention MMB is default paste the last or currently highlighted text. This is set by x resources not your wm so if you want to rebind it you'll have to read section 5 of the manual.
Why not just Shift+Ctrl+C?
It gets annoying when you're copying text between a terminal and, say, a text editor. You have to remember to use one shortcut for the terminal and a different one for the text editor and it's easy to slip up.
>and it's easy to slip up
It's useful if you want to copy a text from a working program. You can be sure that you won't close it by mistake.
not an expert tho
I've accidentally killed many a program by accidentally using Ctrl+C instead of Ctrl+Shift+C on Linux, whereas with Windows Terminal I've never had that issue.
OP makes a point. I've been using linux as my main OS for about 5 years now. I don't have a problem with it at this point, but it's not a bad idea. You could certainly code this into st. Make a patch, OP https://st.suckless.org/
Command-C - Copy
Ctrl-C - Cancel
Mac Chads win again.
Linuxman deleted.
Select and right click copies it
>middle-click
What retard thought middle click should paste
This is ancient, look at mouses on old unix workstations. No scroll wheel, but 3 real mouse buttons.
If you want another weird trip look at the acme programmers interface manual for Bell Labs' Plan 9, mouse chording with a 3 button mouse.
Shortcuts must do one thing and one thing only. Microsoft is retarded and doesn't understand terminal emulators
i wish clicking allowed me to move the cursor to a posittion in the terminal... I hate doing it with arrowkeys
How can I make Windows Termnal complete the suggestion?
right arrow
>wanting inconsistent behavior
>copy from linux terminal
>accidentally closed that terminal
>can't paste because that terminal was closed
only on trannix OS, btw.
Just use Windows. There's no reason not to
>the absolute state of LULZ
Just eat the bugs. There's no reason not to.
None. Use Ctrl+Shift+C.
i used to have this on konsole forgot how i did it tho
You're already copying the text by highlighting it, why would you need ctrl+C?
This. Highlighted text should get autocopied. If you want to cut it just hit delete or backspace.
in Linux terminals you just have to select the text, it copies it automatically