Subj : Fix for frame.js
To   : alterego
From : Digital Man
Date : Sun Jul 26 2020 07:40 pm

 Re: Fix for frame.js
 By: Digital Man to alterego on Sun Jul 26 2020 07:29 pm

>   Re: Fix for frame.js
>   By: alterego to Digital Man on Sat Jul 25 2020 11:39 pm
>
>  > Hey DM,
>
>  > I have a fix for frame.js - I noticed an issue that \1n was not reseting
>  > back to normal (normal being black background).
>
>  > Eg: I had this:
>
>  > const frame = new
>  > Frame(1,1,console.screen_columns,console.screen_rows,BG_BLACK|LIGHTGRAY);
>  > frame.gotoxy(1,1);
>  > frame.putmsg(test);
>
>  > and if test was sending something like \1n\17\1kfoo\1nbar, "bar" would
>  > still have a white background with black text.
>
>  > This patch changes the background back to black when putmsg sees \n.
>
> But putmsg() should return the current attribute even on the next line, no?
> That's how console.putmsg() works.

Or maybe you meant to write: "when putmsg sees \1n".

                                           digital man

This Is Spinal Tap quote #30:
Big bottom, big bottom / Talk about mud flaps, my girl's got 'em!
Norco, CA WX: 72.9�F, 67.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net