projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ce2e304
)
fix uninit line in console
author
djk
<djk>
Sun, 31 Oct 1999 22:09:18 +0000
(22:09 +0000)
committer
djk
<djk>
Sun, 31 Oct 1999 22:09:18 +0000
(22:09 +0000)
perl/console.pl
patch
|
blob
|
history
diff --git
a/perl/console.pl
b/perl/console.pl
index cec17ab4495b5fc2e14833df17cf2b6b7de174f6..a0e4f1087a676825397a46a0e2a0fb8cb19b9ff2 100755
(executable)
--- a/
perl/console.pl
+++ b/
perl/console.pl
@@
-140,6
+140,7
@@
sub show_screen
if ($spos >= @shistory - 1) {
# if we really are scrolling thru at the end of the history
+ $spos = @shistory - 1 if $spos >= @shistory;
my $line = $shistory[$spos];
$top->addstr("\n") if $spos > 0;
setattr($line);