From 218766c51c3e9dea5803879b47b8b027bd6a4e1a Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Tue, 13 Jan 2009 23:56:22 +0000
Subject: [PATCH] Clear line counter before calling console.clear() to prevent
 pause... a pause if necessary is expected to be handled by the caller.

---
 exec/lbshell.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/exec/lbshell.js b/exec/lbshell.js
index 7836fa3d22..29e26f0309 100644
--- a/exec/lbshell.js
+++ b/exec/lbshell.js
@@ -860,6 +860,7 @@ function draw_main(topline)
 	/* Disable CTRL keys that we "know" how to handle. */
 	console.ctrlkey_passthru="+KOPTU";
 	if(topline) {
+		console.line_counter=0;
 		console.clear();
 		cleararea(1,1,console.screen_columns,console.screen_rows,true);
 	}
-- 
GitLab