mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-04 11:47:22 +02:00
Prepped ANSI is working very well + ANSI in FSE pristine in *most* cases
Moved prepAnsi() -> ansi_prep.js as ansiPrep (single export)
This commit is contained in:
parent
1bad0de5c1
commit
9379c7f5e7
7 changed files with 238 additions and 31 deletions
|
@ -343,7 +343,9 @@ exports.FullScreenEditorModule = exports.getModule = class FullScreenEditorModul
|
|||
// really don't like ANSI messages in UTF-8 encoding (they should!)
|
||||
//
|
||||
msgOpts.meta = { System : { 'explicit_encoding' : Config.scannerTossers.ftn_bso.packetAnsiMsgEncoding || 'cp437' } };
|
||||
msgOpts.message = `${ansi.reset()}${ansi.eraseData(2)}${ansi.goto(1,1)}${msgOpts.message}`;
|
||||
// :TODO: change to <ansi>\r\nESC[A<message>
|
||||
//msgOpts.message = `${ansi.reset()}${ansi.eraseData(2)}${ansi.goto(1,1)}${msgOpts.message}`;
|
||||
msgOpts.message = `${ansi.reset()}${ansi.eraseData(2)}${ansi.goto(1,1)}\r\n${ansi.up()}${msgOpts.message}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue