aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.c
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/notmuch.c b/notmuch.c
index fd0e0b25..ae1d5976 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -651,8 +651,11 @@ search_command (int argc, char *argv[])
thread = notmuch_thread_results_get (results);
- printf ("%s (", notmuch_thread_get_thread_id (thread));
+ printf ("%s %s",
+ notmuch_thread_get_thread_id (thread),
+ _notmuch_thread_get_subject (thread));
+ printf (" (");
for (tags = notmuch_thread_get_tags (thread);
notmuch_tags_has_more (tags);
notmuch_tags_advance (tags))
@@ -662,7 +665,6 @@ search_command (int argc, char *argv[])
printf ("%s", notmuch_tags_get (tags));
first = 0;
}
-
printf (")\n");
notmuch_thread_destroy (thread);