Commit 015b02f
perl5db: allow the recorded history item length to be configured
This requires a few small changes.
1. add a new option, which I stored in what looked like one of the
standard ways
2. only store the item in terminal history if >= this length
3. only add to @hist if >= this length
4. only display hist item if >= this length
I believe #4 is redundant and should be removed, but the code was
already effectively there.1 parent 5eb398c commit 015b02f
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| 646 | + | |
646 | 647 | | |
647 | 648 | | |
648 | 649 | | |
| |||
938 | 939 | | |
939 | 940 | | |
940 | 941 | | |
| 942 | + | |
941 | 943 | | |
942 | 944 | | |
943 | 945 | | |
| |||
986 | 988 | | |
987 | 989 | | |
988 | 990 | | |
| 991 | + | |
989 | 992 | | |
990 | 993 | | |
991 | 994 | | |
| |||
2821 | 2824 | | |
2822 | 2825 | | |
2823 | 2826 | | |
2824 | | - | |
| 2827 | + | |
2825 | 2828 | | |
2826 | 2829 | | |
2827 | 2830 | | |
| |||
3731 | 3734 | | |
3732 | 3735 | | |
3733 | 3736 | | |
3734 | | - | |
3735 | | - | |
3736 | | - | |
3737 | | - | |
| 3737 | + | |
3738 | 3738 | | |
3739 | 3739 | | |
3740 | 3740 | | |
| |||
7327 | 7327 | | |
7328 | 7328 | | |
7329 | 7329 | | |
7330 | | - | |
| 7330 | + | |
7331 | 7331 | | |
7332 | 7332 | | |
7333 | 7333 | | |
| |||
0 commit comments