diff --git a/terminator b/terminator index b233adc6..d99850d4 100755 --- a/terminator +++ b/terminator @@ -270,7 +270,7 @@ class TerminatorTerm: self.term.closeterm (self) return (True) - if keyname == 'Tab' or keyname.endswith('_Tab'): + if keyname and (keyname == 'Tab' or keyname.endswith('_Tab')): if event.state == gtk.gdk.CONTROL_MASK: self.term.go_next (self) return (True)