Your code doesn't seem to do anything when I use the up-arrow...
steve@spek ~ $ ./test.pl Input the dice and modifier you want to roll like this: 2d9+100 +. To quit, press Ctrl-C. ? 2d9+100 104 105 ? ^[[A ?
-stevieb
In reply to Re^2: How to add input history
by stevieb
in thread How to add input history
by zsl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |