]> dxcluster.net Git - spider.git/commitdiff
fix console.pl max scroll depth
authorDirk Koopman <djk@tobit.co.uk>
Fri, 21 Jan 2022 18:45:17 +0000 (18:45 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Fri, 21 Jan 2022 18:45:17 +0000 (18:45 +0000)
perl/console.pl

index b71d8a684a2a8207a72e0112990a71251023d4c3..e828c40574bcbc63c5c077bf4ddf2a67bb72373d 100755 (executable)
@@ -533,7 +533,7 @@ $SIG{__DIE__} = \&sig_term;
 
 $Text::Wrap::columns = $cols;
 $conn->send_later("A$call|$connsort width=$cols enhanced");
-$conn->send_later("I$call|set/page $maxshist");
+$conn->send_later("I$call|set/page " . ($maxshist-5));
 $conn->send_later("I$call|set/nobeep");
 
 #Msg->set_event_handler(\*STDIN, "read" => \&rec_stdin);