On Fri Apr 16 08:51:24 2010, OLIVER wrote:
Show quoted text> A quick fix seems to be to rename the T:V:B sub _code_CUD to _move_down.
>
> I don't know enough about VT operations to know whether _process_text
> also needs updating, but this simple change made my code do the right
thing.
It's been a long time since I changed Term::VT102, so I'm not too sure.
It certainly looks like just overriding _move_down will do what you
want, so long as you check that your replacement does something similar
(the real one just moves the cursor and takes care of scrolling if
necessary).
Have a look at _process_text to see if it's changed radically; I think
if you want a boundless terminal you just need to alter the line
wrapping code. In the event of a line wrap, at the moment _move_down
gets called by _process_text to scroll the screen. You probably want to
just take out the wrapping and extend the X size of the screen instead,
unless you're only making the terminal boundless in the Y direction.