numux 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/numux.js +2 -2
  2. package/package.json +1 -1
package/dist/numux.js CHANGED
@@ -36,7 +36,7 @@ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports,
36
36
  var require_package = __commonJS((exports, module) => {
37
37
  module.exports = {
38
38
  name: "numux",
39
- version: "2.0.1",
39
+ version: "2.0.2",
40
40
  description: "Terminal multiplexer with dependency orchestration",
41
41
  type: "module",
42
42
  license: "MIT",
@@ -3265,7 +3265,7 @@ class PrefixDisplay {
3265
3265
  const decoder = this.decoders.get(name) ?? new TextDecoder;
3266
3266
  const text = decoder.decode(data, { stream: true });
3267
3267
  const buffer = (this.buffers.get(name) ?? "") + text;
3268
- const lines = buffer.split(/\r?\n/);
3268
+ const lines = buffer.split(/\r\n|\n|\r/);
3269
3269
  this.buffers.set(name, lines.pop() ?? "");
3270
3270
  for (const line of lines) {
3271
3271
  this.printLine(name, line);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "numux",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Terminal multiplexer with dependency orchestration",
5
5
  "type": "module",
6
6
  "license": "MIT",