title: How can I draw line diagrams on a tty?
body: <p>I'm writing a command line (non-graphical) Linux program in C++, and in some places I need it to draw a chart or plot a function right into the terminal.</p>
  <p>Looking at some programs like ntsysv, mc, alsa etc., I believe it's possible but I was wondering how.</p>