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.
- package/client.js +2 -1
- 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
|
-
|
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 ----------')
|