Support gnome-terminal shortcuts for copy and paste

This commit is contained in:
Chris Jones 2008-01-05 00:50:56 +00:00
parent 25aec218e9
commit aa55d4d7b5

View File

@ -279,6 +279,12 @@ class TerminatorTerm:
elif keyname == 'W':
self.term.closeterm (self)
return (True)
elif keyname == 'C':
self._vte.copy_clipboard ()
return (True)
elif keyname == 'V':
self._vte.paste_clipboard ()
return (True)
if keyname and (keyname == 'Tab' or keyname.endswith('_Tab')):
if event.state == gtk.gdk.CONTROL_MASK: