From ae92fb72b209c30dc03a28f295abd1dbcaf73d3c Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sun, 24 May 2020 10:23:03 +0000 Subject: [PATCH] Use separate mouse-down (click) and release pass-through flags. Rename CON_MOUSE_REPORT to CON_MOUSE_SCROLL (since that is all it is used for). --- exec/load/sbbsdefs.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exec/load/sbbsdefs.js b/exec/load/sbbsdefs.js index 6b0850bdee..15c692f610 100644 --- a/exec/load/sbbsdefs.js +++ b/exec/load/sbbsdefs.js @@ -157,10 +157,10 @@ var CON_NORM_FONT =(1<<18); /* Alt normal font activated */ var CON_HIGH_FONT =(1<<19); /* Alt high-intensity font activated */ var CON_BLINK_FONT =(1<<20); /* Alt blink font activated */ var CON_HBLINK_FONT =(1<<21); /* Alt high-blink font activated */ -var CON_MOUSE_PASSTHRU =(1<<24); // Pass-through unhandled mouse reports -var CON_MOUSE_REPORT =(1<<25); // Mouse-reports enabled for non-hotspots (e.g. scroll-wheel) -var CON_CR_CLREOL =(1<<31); // Sending '\r', clears to end-of-line first - /********************************************/ +var CON_MOUSE_CLK_PASSTHRU =(1<<24); // Pass-through unhandled mouse button-click reports +var CON_MOUSE_REL_PASSTHRU =(1<<25); // Pass-through unhandled mouse button-release reports +var CON_MOUSE_SCROLL =(1<<26); // Enable mouse scroll-wheel to arrow key translations +var CON_CR_CLREOL =(1<<31); // Sending '\r', clears to end-of-line first // Terminal mouse reporting mode (console.mouse_mode) var MOUSE_MODE_OFF = 0; // No terminal mouse reporting enabled/expected -- GitLab