@register(u'end-kbd-macro')
def start_kbd_macro(event):
 event.cli.input_processor.end_macro()

@ register ( u'end-kbd-macro' ) def start_kbd_macro ( event ) : event . cli . input_processor . end_macro ( )
stop saving the characters typed into the current keyboard macro and save the definition .