nncli

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

commit a6ecfd0e89af930d19d6d6230587d150eae87f8a
parent ec6d00012e98c58d474f8d305e2730b1a680319b
Author: Eric Davis <edavis@insanum.com>
Date:   Wed,  2 Jul 2014 16:37:12 -0700

added note key to status bar

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

diff --git a/view_note.py b/view_note.py @@ -36,8 +36,8 @@ def get_status_bar(self): utils.get_note_title(self.note), wrap='clip'), 'status_bar') - status_index = \ - ('pack', urwid.AttrMap(urwid.Text(u' ' + + status_key_index = \ + ('pack', urwid.AttrMap(urwid.Text(u' [' + self.note['key'] + u'] ' + str(cur + 1) + u'/' + str(total)), @@ -54,7 +54,7 @@ def get_status_bar(self): status_tags_flags = \ ('pack', urwid.AttrMap(urwid.Text(u'[' + tags + u'] [' + flags + u']'), 'status_bar')) - pile_top = urwid.Columns([ status_title, status_index ]) + pile_top = urwid.Columns([ status_title, status_key_index ]) pile_bottom = urwid.Columns([ status_date, status_tags_flags ]) return \ urwid.AttrMap(urwid.Pile([ pile_top, pile_bottom ]),