theprogrammablemind 8.1.0-beta.2 → 8.1.0-beta.3

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/client.js +2 -1
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -872,7 +872,8 @@ const defaultInnerProcess = (config, errorHandler, responses) => {
872
872
  */
873
873
  console.log('')
874
874
  const screen_width = process.stdout.columns
875
- const widths = [60, 10, Math.max(80, screen_width-71)]
875
+ // || 0 for when running without a console
876
+ const widths = [60, 10, Math.max(80, screen_width-71 || 0)]
876
877
  const lines = new Lines(widths)
877
878
  lines.setElement(0, 0, '--- The paraphrases are ----------')
878
879
  lines.setElement(0, 2, '--- The response strings are ----------')
package/package.json CHANGED
@@ -65,6 +65,6 @@
65
65
  "sort-json": "^2.0.0",
66
66
  "uuid": "^8.3.2"
67
67
  },
68
- "version": "8.1.0-beta.2",
68
+ "version": "8.1.0-beta.3",
69
69
  "license": "UNLICENSED"
70
70
  }