mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-23 03:06:04 +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
|
@ -7,6 +7,7 @@ const sauce = require('./sauce.js');
|
|||
const Address = require('./ftn_address.js');
|
||||
const strUtil = require('./string_util.js');
|
||||
const Log = require('./logger.js').log;
|
||||
const ansiPrep = require('./ansi_prep.js');
|
||||
|
||||
const _ = require('lodash');
|
||||
const assert = require('assert');
|
||||
|
@ -706,7 +707,7 @@ function Packet(options) {
|
|||
return callback(null, basicHeader, toUserNameBuf, fromUserNameBuf, subjectBuf, msgBody, message.message);
|
||||
}
|
||||
|
||||
strUtil.prepAnsi(
|
||||
ansiPrep(
|
||||
message.message,
|
||||
{
|
||||
cols : 80,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue