Clear selection on copy if smart_copy is configured
This commit is contained in:
parent
290ca4dbd6
commit
657c45abb7
|
@ -1773,6 +1773,8 @@ class Terminal(Gtk.VBox):
|
|||
|
||||
def key_copy(self):
|
||||
self.vte.copy_clipboard()
|
||||
if self.config['smart_copy']:
|
||||
self.vte.unselect_all()
|
||||
|
||||
def key_paste(self):
|
||||
self.paste_clipboard()
|
||||
|
|
Loading…
Reference in New Issue