Subject: | Strange behaviour after clearing scrollback |
The Mac Terminal app has a ‘clear scrollback’ feature which makes the last line in the terminal window the *only* line, at the top of the window. So if, for example, I choose ‘clear scrollback’ when I am in the CPAN shell, I get just
Show quoted text
cpan>
at the top of the window.
For some strange reason, if I am running the CPAN shell with PERL_RL=Tiny set, when I start typing, a page break (I don’t know which ctrl char) appears after each character. So, when I type ‘look’ and then scroll back to it, I see:
Show quoted textcpan> l
...and then a screenful later...
o
...later...
o
and:
k
followed by another page break.
I am sure you can imagine how frustrating (and amusing!) this is.
I don’t know enough about terminals even to begin to debug this. Have I provided enough information?
BTW, this is with Term::ReadLine::Tiny 1.09.