diff options
author | Ben Burwell <ben@benburwell.com> | 2020-01-09 09:42:12 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-01-09 14:32:22 -0500 |
commit | 598e39f523024ae36bd94c2fbee87cf13165c78e (patch) | |
tree | 4c0e453a3dfd2d319aca951c7b4e947d844b6307 /lib/ui/context.go | |
parent | eca3863242da2722e69b573e2559351b5219b63c (diff) | |
download | aerc-598e39f523024ae36bd94c2fbee87cf13165c78e.tar.gz |
Strip trailing newline from address book entries without names
When the list of completions from the external command doesn't have
associated contact names, the email address we attempt to parse was
being terminated with a newline. Now, we strip the trailing newline if
present.
Diffstat (limited to 'lib/ui/context.go')
0 files changed, 0 insertions, 0 deletions