ref: 45cd659ce651be49bb2f9cdfb8ad51435dc08e76
parent: 87a1fa7314674d9d0b3763b0dc720ee44646b2ba
author: Ori Bernstein <[email protected]>
date: Thu Nov 5 19:28:34 EST 2020
tweak cursor placement in new messages
--- a/comp.c
+++ b/comp.c
@@ -178,9 +178,9 @@
if(strlen(r->cc) > 0)
Bprint(wfd, "CC: %s\n", r->cc);
}
- if(r == nil){
- Bprint(wfd, "Subject: \n\n");
- }else{
+ if(r == nil)
+ Bprint(wfd, "Subject: ");
+ else{
if(r->messageid != nil)
c->replyto = estrdup(r->messageid);
c->rpath = estrjoin(mbox.path, r->name, nil);
@@ -203,5 +203,7 @@
Bterm(wfd);
}
Bterm(wfd);
+ fprint(c->addr, "$");
+ fprint(c->ctl, "dot=addr");
threadcreate(compmain, c, Stack);
}