theprogrammablemind_4wp 8.1.0-beta.2 → 8.1.0-beta.4
Sign up to get free protection for your applications and to get access to all the features.
- 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 ----------')
|