summaryrefslogtreecommitdiff
path: root/alot/commands/taglist.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/commands/taglist.py')
-rw-r--r--alot/commands/taglist.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/alot/commands/taglist.py b/alot/commands/taglist.py
index 1fa01369..f5e8af73 100644
--- a/alot/commands/taglist.py
+++ b/alot/commands/taglist.py
@@ -1,4 +1,5 @@
# Copyright (C) 2011-2012 Patrick Totzke <patricktotzke@gmail.com>
+# Copyright © 2018 Dylan Baker
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
from . import Command, registerCommand
@@ -11,7 +12,7 @@ MODE = 'taglist'
class TaglistSelectCommand(Command):
"""search for messages with selected tag"""
- def apply(self, ui):
+ async def apply(self, ui):
tagstring = ui.current_buffer.get_selected_tag()
cmd = SearchCommand(query=['tag:"%s"' % tagstring])
- ui.apply_command(cmd)
+ await ui.apply_command(cmd)