projects
/
canto-curses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7704edd
)
Fix offset initializations
author
Jack Miller
<jack@codezen.org>
Sun, 16 Nov 2014 01:08:23 +0000
(19:08 -0600)
committer
Jack Miller
<jack@codezen.org>
Sun, 16 Nov 2014 02:21:29 +0000
(20:21 -0600)
canto_curses/tag.py
patch
|
blob
|
history
diff --git
a/canto_curses/tag.py
b/canto_curses/tag.py
index
519506d
..
2f11614
100644
(file)
--- a/
canto_curses/tag.py
+++ b/
canto_curses/tag.py
@@
-87,10
+87,10
@@
class Tag(PluginHandler, list):
self.post_format = ""
# Global indices (for enumeration)
- self.item_offset =
None
- self.visible_tag_offset =
None
- self.tag_offset =
None
- self.sel_offset =
None
+ self.item_offset =
0
+ self.visible_tag_offset =
0
+ self.tag_offset =
0
+ self.sel_offset =
0
on_hook("curses_opt_change", self.on_opt_change)
on_hook("curses_tag_opt_change", self.on_tag_opt_change)