Add a character counter in the prompt window to see the total number of characters allowed and the number already typed.