Here how it looks on my terminal with Terminus 9 font:

To solve the dashed vertical lines issue, please use U+2502 │ Box Drawings Light Vertical Unicode character:
https://en.wikipedia.org/wiki/Box_Drawing
https://unicode.org/charts/nameslist/n_2500.html
The same problem for Vim (which has a solution there):

https://stackoverflow.com/q/9001337/1063363
https://stackoverflow.com/q/26582597/1063363
PS:
Here is the interesting historical discourse as well:
https://www.reddit.com/r/typography/comments/aqcesg/history_of_the_broken_vertical_bar_being_the_form/
Here how it looks on my terminal with Terminus 9 font:

To solve the dashed vertical lines issue, please use U+2502 │ Box Drawings Light Vertical Unicode character:
https://en.wikipedia.org/wiki/Box_Drawing
https://unicode.org/charts/nameslist/n_2500.html
The same problem for Vim (which has a solution there):

https://stackoverflow.com/q/9001337/1063363
https://stackoverflow.com/q/26582597/1063363
PS:
Here is the interesting historical discourse as well:
https://www.reddit.com/r/typography/comments/aqcesg/history_of_the_broken_vertical_bar_being_the_form/