about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-06-19 14:05:13 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-06-19 14:05:13 +0200
commit7955efa88e415cd915215b7db01988f27a923417 (patch)
treecb9c966301180c78a3363fb267d2b9a872ba914b /mcom
parenteeacad9fd8c6ba56ef20a19ca4a564a517ee6f51 (diff)
downloadmblaze-7955efa88e415cd915215b7db01988f27a923417.tar.gz
mblaze-7955efa88e415cd915215b7db01988f27a923417.tar.xz
mblaze-7955efa88e415cd915215b7db01988f27a923417.zip
mcom: don't limit column width for subjects
Diffstat (limited to 'mcom')
-rwxr-xr-xmcom4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcom b/mcom
index 31d655c..1d73cd8 100755
--- a/mcom
+++ b/mcom
@@ -98,7 +98,7 @@ echo $draft
 		[ "$1" = -r ] && raw=1 && shift
 		[ "$#" -eq 0 ] && set -- .
 		printf '%s: \n' To Cc Bcc
-		mscan -f 'Subject: [%f] %s' "$@" | sed 1q
+		COLUMNS=10000 mscan -f 'Subject: [%f] %s' "$@" | sed 1q
 		from=$(mhdr -h local-mailbox "$MBLAZE/profile")
 		[ "$from" ] && printf 'From: %s\n' "$from"
 		cat "$MBLAZE/headers" 2>/dev/null
@@ -135,7 +135,7 @@ echo $draft
 			       "$(mhdr -d -A -h to:cc: "$1" |notmine |commajoin)"
 			printf 'Bcc: \n'
 		fi
-		printf 'Subject: Re: %s\n' "$(mscan -f '%S' "$1")"
+		printf 'Subject: Re: %s\n' "$(COLUMNS=10000 mscan -f '%S' "$1")"
 		from=$(mhdr -h local-mailbox "$MBLAZE/profile")
 		[ "$from" ] && printf 'From: %s\n' "$from"
 		cat "$MBLAZE/headers" 2>/dev/null