We don't bite newbies here... much | |
PerlMonks |
Re: Using Term::ReadLine and pasting input with tabsby Anonymous Monk |
on Mar 22, 2016 at 22:30 UTC ( [id://1158566]=note: print w/replies, xml ) | Need Help?? |
That's because of tab completion, you need to disable it. IIRC it's done by binding (rl_bind_key in GNU Readline) the tab char to a function that just inserts literal tab. I don't know what backend you're using, so read its documentation.
P.S. I checked the doc for Term::ReadLine::Gnu, it seems it's something like $term->bind_key(ord "\t", 'tab-insert')
In Section
Seekers of Perl Wisdom
|
|