term.input.input:prompt_len

term.input

input:prompt_len() -> len, prompt

Return the display length and rendered prompt string