Please help me to create a text editor using C only.

I do not know how to do it.