morgon has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
this works but seems to use the emacs editing mode when Term::Readline::Gnu is installed:
Is there a way to use vi-mode?use strict; use Term::ReadLine; my $term = Term::ReadLine->new('a'); print "you entered: " . $term->readline("Enter something: ");
Many thanks!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: vi mode in readline
by morgon (Priest) on Feb 12, 2019 at 02:17 UTC | |
Re: vi mode in readline
by dasgar (Priest) on Feb 12, 2019 at 00:57 UTC |
Back to
Seekers of Perl Wisdom