join chatlog with `\x01`

96fe4c4ab69bd64bb3f45e2a30dda920d6117cba

steve green <steve_green@qq.com>

Signed
1 files changed, +3 -3Ignore whitespace
public/scripts/world-info.js+3 -3
@@ -217,15 +217,15 @@ class WorldInfoBuffer {
217 depth = MAX_SCAN_DEPTH;217 depth = MAX_SCAN_DEPTH;
218 }218 }
219219
220 let result = this.#depthBuffer.slice(this.#startDepth, depth).join('\n');220 let result = this.#depthBuffer.slice(this.#startDepth, depth).join('\n\x01');
221221
222 if (this.#injectBuffer.length > 0) {222 if (this.#injectBuffer.length > 0) {
223 result += '\n' + this.#injectBuffer.join('\n');223 result += '\n\x01' + this.#injectBuffer.join('\n\x01');
224 }224 }
225225
226 // Min activations should not include the recursion buffer226 // Min activations should not include the recursion buffer
227 if (this.#recurseBuffer.length > 0 && scanState !== scan_state.MIN_ACTIVATIONS) {227 if (this.#recurseBuffer.length > 0 && scanState !== scan_state.MIN_ACTIVATIONS) {
228 result += '\n' + this.#recurseBuffer.join('\n');228 result += '\n\x01' + this.#recurseBuffer.join('\n\x01');
229 }229 }
230230
231 return result;231 return result;