@register(u'print-last-kbd-macro')
def print_last_kbd_macro(event):
 def print_macro():
  for k in event.cli.input_processor.macro:
   print k
 event.cli.run_in_terminal(print_macro)

@ register ( u'print-last-kbd-macro' ) def print_last_kbd_macro ( event ) : def print_macro ( ) : for k in event . cli . input_processor . macro : print k event . cli . run_in_terminal ( print_macro )
print the last keboard macro .