'Clear the currently entered key sequence.'

def clear_keystring(self):

    if self._keystring:
        self._debug_log("discarding    keystring    '{}'.".format(self._keystring))
        self._keystring = ''
        self.keystring_updated.emit(self._keystring)
