BBS: TELESC.NET.BR
Assunto: nodesync is changing the cursor color
De: deon
Data: Fri, 17 Apr 2026 22:52:28 +1000
-----------------------------------------------------------
Hi DM,
I've noticed that when setting colors with ANSI ESC does, eg: ESC[1;32;40m and then calling bbs.nodesync(), that colors are being reset back to low intensity white.
Why isnt the color sticking?
eg:
-+- test.js
require("sbbsdefs.js", "K_NONE");
write('current white:');
write(' \x1b[1;32;40mXX BRIGHT GREEN:');
//write(' \1g\1hXX BRIGHT GREEN AGAIN:');
bbs.nodesync();
write('YY BRIGHT GREEN?:');
read = console.inkey(K_NONE,10000);
-+-
If I ";EXEC ?test", it shows XX BRIGHT GREEN correctly, but YY BRIGHT GREEN is not green.
If I uncomment the line using \1\g codes, it does stay green.
...
n
---
gSynchronetn AnsiTEX bringing back videotex but with ANSI
-----------------------------------------------------------
[Voltar]