From c0fbb7be35f8a638e329bbd0c3e566ca0d1c2cf9 Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Debian Linux)" <rob@synchro.net>
Date: Thu, 23 Mar 2023 11:20:54 -0700
Subject: [PATCH] Don't clear the line counter after executing string commands
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This resolves the issue of the results of string commands not being visible
in novice menu mode. I don't see this issue when running default.bin.

┌────────────────────────····
│ Subj: nlog
│ Attr: Replied
│ To  : All
│ From: Greg Meckel (1:153/143)
│ Date: Wed Mar 22 2023 10:40 am UTC-9:00 (22.7 hours ago)
└───────────────────────────────────────────────······

I attempted to check my node log this morning using ;nlog but it only flashed
on the screen briefly and was gone. Do I possibly have something set wrong?
---
 exec/default.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/exec/default.js b/exec/default.js
index ea6b413dce..76aadc4cd0 100755
--- a/exec/default.js
+++ b/exec/default.js
@@ -197,7 +197,6 @@ while(bbs.online && !js.terminated) {
 			cmd = last_str_cmd;
 		js.exec("str_cmds.js", {}, cmd);
 		last_str_cmd = cmd;
-		console.line_counter = 0;
 		continue;
 	}
 	if(cmd == '/') {
-- 
GitLab