You should take a look at the Term::Cap module. It's in the set of core modules since at least version 5.10, so it should be available in your installation. I'm assuming that by pure Perl you mean "I don't want to install any modules".
What a module like this gives you is the ability to write to a specific part of the screen. You would now have to define you own subroutines for printing to the upper part, and printing to the lower part, but it's better than the alternative. The alternative is something like writing to the @upper_lines and @lower_lines arrays, and then, with a refresh_screen sub, cleaning the whole screen and writing the contents of both arrays. to the screen, with a horizontal line in between, if you wish.
- Luke
In reply to Re: Pure Perl Split Screen
by blindluke
in thread Pure Perl Split Screen
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |