nncli

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

commit 3ff3104c3ebc5cd88dfe193b96878e4683e80f84
parent 8d525b28e5906b7c01954ea0a8e99fec881a9499
Author: Eric Davis <edavis@insanum.com>
Date:   Wed,  9 Jul 2014 11:43:14 -0700

reset the focus position when refreshing the log view

Diffstat:
Mview_log.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/view_log.py b/view_log.py @@ -19,6 +19,7 @@ def update_log(self): if self.config.get_config('log_reversed') == 'yes': lines.reverse() self.body[:] = urwid.SimpleFocusListWalker(lines) + self.focus_position = 0 def get_status_bar(self): cur = -1