Mercurial > urwid-satext
diff examples/menu.py @ 66:287ff3e1edd1
removed trailing spaces
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 21 Dec 2013 16:51:14 +0100 |
parents | e49d8f289a73 |
children | 6689aa54b20c |
line wrap: on
line diff
--- a/examples/menu.py Mon Mar 25 13:10:57 2013 +0100 +++ b/examples/menu.py Sat Dec 21 16:51:14 2013 +0100 @@ -21,7 +21,7 @@ self.loop = urwid.MainLoop(_frame, const_PALETTE, unhandled_input=self.keyHandler) _frame.set_header(self.buildMenu()) _frame.set_focus('header') - + def run(self): self.loop.run() @@ -52,7 +52,7 @@ self.menu.addMenu(_menu2, "Item 1", self.menu_cb) self.menu.addMenu(_menu2, "Item 2", self.menu_cb) self.menu.addMenu(_menu2, "Item 3", self.menu_cb) - return self.menu + return self.menu def keyHandler(self, input): """We leave if user press a quit char"""