mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 02:17:03 +00:00
Merge branch 'fix-copy-or-interrupt' of https://github.com/page-down/kitty
This commit is contained in:
commit
f0b79f88b2
1 changed files with 1 additions and 0 deletions
|
|
@ -1217,6 +1217,7 @@ class Window:
|
|||
if text:
|
||||
set_clipboard_string(text)
|
||||
else:
|
||||
self.scroll_end()
|
||||
self.write_to_child(self.encoded_key(KeyEvent(key=ord('c'), mods=GLFW_MOD_CONTROL)))
|
||||
|
||||
@ac('cp', 'Copy the selected text from the active window to the clipboard and clear selection, if no selection, send SIGINT (aka :kbd:`ctrl+c`)')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue