Fix :show-category
authorJack Miller <jack@codezen.org>
Tue, 16 Jun 2015 04:08:31 +0000 (23:08 -0500)
committerJack Miller <jack@codezen.org>
Tue, 16 Jun 2015 04:08:31 +0000 (23:08 -0500)
canto_curses/taglist.py

index f815320..5b31f4b 100644 (file)
@@ -883,7 +883,7 @@ class TagList(GuiBase):
 
     def cmd_show_category(self, category):
         if category:
-            tag_updater.transform("categories", "InTags(\'" + shlex.quote(category) + "\')")
+            tag_updater.transform("categories", "InTags(\'" + shlex.quote("category:" + category) + "\')")
         else:
             tag_updater.transform("categories", "None")
         tag_updater.update()