summaryrefslogtreecommitdiff
path: root/alot/commands/search.py
diff options
context:
space:
mode:
authorHamish Downer <hamish@foobacca.co.uk>2013-10-12 18:44:39 +0000
committerHamish Downer <hamish@foobacca.co.uk>2013-10-13 18:14:01 +0000
commit55f2c42071e60eedf0860233b19a12fbb54c7755 (patch)
tree7349f4bc4f5b2fb9cb46ae816a090eceecffa952 /alot/commands/search.py
parent69df1e95fe1daf245e592353aee441142e8db172 (diff)
On retagprompt, append a comma
So we don't have to remember to type the extra comma before typing a new tag.
Diffstat (limited to 'alot/commands/search.py')
-rw-r--r--alot/commands/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/search.py b/alot/commands/search.py
index 18f94948..4a551be5 100644
--- a/alot/commands/search.py
+++ b/alot/commands/search.py
@@ -105,7 +105,7 @@ class RetagPromptCommand(Command):
tags.append('"%s"' % tag)
else:
tags.append(tag)
- initial_tagstring = ','.join(tags)
+ initial_tagstring = ','.join(tags) + ','
ui.apply_command(PromptCommand('retag ' + initial_tagstring))