I want to build a program with an interactive command line. The screen have to be split in two areas: on the top of the screen, may be displayed the program itself and on the bottom of the screen, an interactive command line. This program is going to run in a console, so I can't use GUI interfaces (swing, awt, etc.). Is there any way to make it? As for now, my difficulty has been how to position the input command line on the correct line of the console view.
If you use Ansi-Escape-Sequences, it's possible, but complicated.
a) You need an Ansidriver (often found implicitly on Linux, and on older Windows too (Ansi.sys). b) Ansi was mostly used with 80x25 Displays. I don't know how it works on current machines. Resizing a window may lead to a trashy screen.