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
Post a Comment