theZiz / aha

Ansi HTML Adapter
Other
915 stars 88 forks source link

--line-fix leads to double-spaced output #93

Open iskunk opened 2 years ago

iskunk commented 2 years ago

Using aha commit 5eaec96a, and this input file:

aha by itself gives correct output, but aha --line-fix gives output like

Script started on 2022-03-21 12:55:00-0400
host:/tmp/lstest$ ls -1                                                         

apple                                                                           

banana                                                                          

canteloupe/                                                                     

durian                                                                          

enchilada                                                                       

host:/tmp/lstest$ exit                                                          

Script done on 2022-03-21 12:55:03-0400

Adding the --ignore-cr option does not help.

This input file is intended as a minimal example. --line-fix is not needed to process it correctly, but I have more complex inputs that do require this option, and likewise get the double-spaced lines.