Closed Chippiewill closed 8 months ago
This is a tweak I've been using on my local tilda usage since November.
I've never been a fan of having to use alternative shortcuts for copy (like ctrl+shift+c), this particular change implements the setup that IntelliJ IDEs use for their terminals support out of the box which I personally find quite ergonomic which is to allow copying but not interrupting if any text is selected. The only visible change if you don't manually switch your copy shortcut to ctrl+c
is it clears the selection when you copy, I think this is actually a fairly nice change anyway as it gives a visual indicator if your copy succeeded.
Thanks for your contribution, I have just merged it.
This commit makes two small tweaks that allow for sensible use of ctrl+C to copy:
ctrl+c
to be forwarded to the underlying TTY to interrupt the foreground process as per usual.ctrl+c
to copy the first time it can be immediately used to interrupt the foreground process without manually unselecting.