O, one more thing
I forgot about the cursor keys. When pressing {down}, it should create 5? more (new)lines the moment it (the cursor) stays in place (stops moving). Effectively creating newlines on the fly. When pressing a key other than {down}, it resets the max. count (suggested to be 5), so the user wont go too far down, but still can go further this way.
And when pressing {right}, it should add spaces up until it (the cursor) gets close to the right window (frame) border, on the place of the newline character the second {end} should find. That's about it..
Nice to have a click anywhere and type like placing text in Draw (OOorg/LibreOffice).
Yours. Nice forum.