This version runs very slow
Previously, token spans beyond the visible range were printed at the start of the next line
- Further debug printing statements added
The code was meant to leave the first row empty for the text, but ended up drawing the "histogram" one row shorter