track number of chars at prompt