Skip to content
Snippets Groups Projects
Commit 64bffa2b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

The terminal mouse setting will now default to the current setting

... so just hitting ENTER will stick with the current mouse enablement.
parent eae749a9
No related branches found
No related tags found
No related merge requests found
...@@ -430,9 +430,15 @@ while(bbs.online && !js.terminated) { ...@@ -430,9 +430,15 @@ while(bbs.online && !js.terminated) {
if (console.aborted) if (console.aborted)
break; break;
if (term & USER_ANSI) { if (term & USER_ANSI) {
if (bbs.text(bbs.text.MouseTerminalQ).length && console.yesno(bbs.text(bbs.text.MouseTerminalQ))) if (bbs.text(bbs.text.MouseTerminalQ).length) {
if(term & USER_MOUSE) {
if (!console.yesno(bbs.text(bbs.text.MouseTerminalQ)) && !console.aborted)
thisuser.settings &= ~USER_MOUSE;
} else {
if (!console.noyes(bbs.text(bbs.text.MouseTerminalQ)) && !console.aborted)
thisuser.settings |= USER_MOUSE; thisuser.settings |= USER_MOUSE;
else if (!console.aborted) }
} else if (!console.aborted)
thisuser.settings &= ~USER_MOUSE; thisuser.settings &= ~USER_MOUSE;
} }
if (console.aborted) if (console.aborted)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment