3 ms·
Okay sure, but that still doesn't solve anything because the fundamental issue is with the Ctrl+C in Alacritty not behaving the way I'd want it to.
by francislavoie 6y ago
Okay sure, but that still doesn't solve anything because the fundamental issue is with the Ctrl+C in Alacritty not behaving the way I'd want it to.
- pmoriarty 6y agoHmm.. I wonder if you could get your desired behavior by rebinding Ctrl+C in Alacritty to copy, and also using the "stty" command to change the keyboard shortcut that sends the interrupt signal from Ctrl+C to something else. The latter may be necessary because traditionally you would interrupt programs (like say a runaway cat command or some other long-running process) with Ctrl+C, so using Ctrl+C to copy would normally conflict with that. Though I suppose that a terminal could be implemented in such a way that Ctrl+C is used for copy if some text has been selected and when no text has been selected it could pass that Ctrl+C on to the application running in the terminal. This way Ctrl+C could remain as the shortcut for sending an interrupt signal to apps in the terminal, and you wouldn't have to mess with stty.