andif ($input eq "\e[D\n")
if ($input eq "\e[C\n")
You obviously removed the lc to get those values. Be careful about re-adding lc. Only lowercase $input after checking for these special keys.
In reply to Re^3: Regex arrow key problem
by ikegami
in thread Regex arrow key problem
by austin43
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |