pazz / alot

Terminal-based Mail User Agent
GNU General Public License v3.0
701 stars 163 forks source link

\t (tab) character rendered as '?' in envelope view #1439

Closed pacien closed 4 years ago

pacien commented 5 years ago

Describe the bug Tab characters (\t) are rendered as ? in the envelope view. This is particularly annoying when sending patches.

Identical to https://github.com/pazz/alot/issues/74 closed many years ago. Looks like a regression.

Software Versions

To Reproduce Steps to reproduce the behaviour:

  1. compose a new message, and add some tab-indented code snippet in the body
  2. exit the editor and return to the envelope buffer
  3. notice that \t are replaced with ?

Error Log N.A.

lucc commented 5 years ago

The same happens in source view (:togglesource).

pazz commented 5 years ago

the PR is untested but I believe it should fix the issue. Please test.