shithub: Nail

Download patch

ref: d6ba06e2e7b52cec4dca754c37d15b0a690a0f2e
parent: fbc6ca33a7305c82b720eee9168790d9d937c50d
author: Ori Bernstein <[email protected]>
date: Wed Nov 4 00:10:50 EST 2020

show to in message window

--- a/mesg.c
+++ b/mesg.c
@@ -228,6 +228,7 @@
 	if((wfd = winopen(m, "body", OWRITE)) == -1)
 		return -1;
 	fprint(wfd, "From: %s\n", m->from);
+	fprint(wfd, "To:   %s\n", m->to);
 	fprint(wfd, "Date: %s\n", m->date);
 	fprint(wfd, "Subject: %s\n\n", m->subject);