c - Is it possible to make a Box and request user to insert something in the middle? -


i wanted this:

+------------------------------------------+ |    insert input: ____               | +------------------------------------------+ 

where user insert information on ____
box must built before user starts type.

yes, not in portable way.

you need figure out howe control terminal, can send necessary control codes move cursor needed build box , move inside it.

one popular library (and more) gnu ncurses.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -