Clear selection on copy if smart_copy is configured

This commit is contained in:
Matt Rose 2020-10-19 16:51:47 -04:00
parent 290ca4dbd6
commit 657c45abb7
1 changed files with 3 additions and 1 deletions

View File

@ -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()