I am coding a shell-like in C and I want to implement the line edition functionality, I already implemented the basic of it, now I want to implement ctrl+l which clear the screen then display the prompt and the line I was working on.
I need to use the termcap :
'cm' String to position the cursor at line l, column c.
My question is how to I pass the variable l and c to the termcap ?