splitting the console into 2 "parts"
splitting the console into 2 "parts"
good morning,
i would like to make a little interface for an application which will split the console in 2 "parts":
1 top area to print messages & 1 command prompt.
the printed messages are asynchronous to the command prompt, what i mean is that while while the user types a command a message can be printed.
to be more clear i want to make an interface like vi in insert mode, but with a dynamic text area....
personally, i thought to clear the console whenever a new message is to be printed and reprint it from the beginning with whatever a user has already printed, but i don't think that is good solution.
could you guide me to nicer solution ?
|