ansi-escape

Is there an ANSI control sequence which moves the cursor to the end of line?


I know of \33[nC which moves the cursor n columns forward; the problem is, I don't know how many characters the particular line consists of.


Solution

  • No, there is no such ANSI control sequence.