I have a small ASCII diagram in my LaTeX document.
\lstset{literate={↓}{$\downarrow{}$}{1}}
\begin{lstlisting}
-1---2----3-----|
---s---------s--|
↓ ↓
---1*--------3***|
\end{lstlisting}
Adding the down arrow was hard enough already, but now the ---
on the second line is converted to a horizontal line, and to larger minus signs on the bottom line. Especially the last line is wider than it should be.
I have another one that looks even worse:
\begin{lstlisting}
-4--5--7--3----|
---s--s--s--s--|
↓ \-↓ \-↓
---4****5*****3***|
\end{lstlisting}
The entire bottom line is misaligned:
How do I make it look more like the original ASCII?