Input text and take text from different places?

T

Tim Mcd

I haven't been able to find anything on this, so here goes:

Is it possible to be 'puts'ing text to one place on the terminal while
'gets'in from another?
I have setup with VT100 control codes a basic layout for my MUD client,
with a line of dashes ('-') going across the second from bottom line. I
tried setting it up so that the thread that handles input from the MUD
moves the cursor (via control codes) to line 22 (above the 'split' line)
to add in the MUD output, and then move it back down to 24 so that the
user typing sees their commands being typed down below the split. But
this isn't working so well. Is there any way to take text input from one
place while putting text into another place? Have two cursors in the
terminal? Just a possibility xD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top