nncli

NextCloud Notes Command Line Interface
git clone git://git.danielmoch.com/nncli.git
Log | Files | Refs | LICENSE

commit 9c75c96a0aa04c0af46d600bf3b180d68dec1d59
parent 94ead41b4c7e683d3e4d52c5feab410c9c21d06b
Author: Eric Davis <edavis@insanum.com>
Date:   Wed,  2 Jul 2014 14:05:03 -0700

proper return from keypress

Diffstat:
Mview_note.py | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/view_note.py b/view_note.py @@ -65,14 +65,19 @@ def keypress(self, size, key): self.body[:] = \ urwid.SimpleFocusListWalker( self.get_note_content_as_list(2)) + return None elif key == self.config.get_keybind('tabstop4'): self.body[:] = \ urwid.SimpleFocusListWalker( self.get_note_content_as_list(4)) + return None elif key == self.config.get_keybind('tabstop8'): self.body[:] = \ urwid.SimpleFocusListWalker( self.get_note_content_as_list(8)) + return None + + return key