sdc-build-wp 5.6.12 → 5.6.13
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/lib/tui.js +4 -10
- package/package.json +1 -1
package/lib/tui.js
CHANGED
|
@@ -69,11 +69,9 @@ function TUIRoot({ tui }) {
|
|
|
69
69
|
TitledBox,
|
|
70
70
|
{
|
|
71
71
|
borderStyle: 'round',
|
|
72
|
-
borderLeft: false,
|
|
73
|
-
borderRight: false,
|
|
74
72
|
titles: ['SDC Build WP'],
|
|
75
73
|
borderColor: 'blue',
|
|
76
|
-
paddingX:
|
|
74
|
+
paddingX: 1,
|
|
77
75
|
flexDirection: 'column'
|
|
78
76
|
},
|
|
79
77
|
header.titleLine || header.urlLine
|
|
@@ -104,9 +102,7 @@ function TUIRoot({ tui }) {
|
|
|
104
102
|
borderStyle: 'round',
|
|
105
103
|
borderColor: 'blue',
|
|
106
104
|
borderTop: false,
|
|
107
|
-
|
|
108
|
-
borderRight: false,
|
|
109
|
-
paddingX: 0,
|
|
105
|
+
paddingX: 1,
|
|
110
106
|
flexDirection: 'column',
|
|
111
107
|
height: availableLogRows + 1
|
|
112
108
|
},
|
|
@@ -118,9 +114,7 @@ function TUIRoot({ tui }) {
|
|
|
118
114
|
{
|
|
119
115
|
borderStyle: 'round',
|
|
120
116
|
borderColor: 'cyan',
|
|
121
|
-
|
|
122
|
-
borderRight: false,
|
|
123
|
-
paddingX: 0,
|
|
117
|
+
paddingX: 1,
|
|
124
118
|
marginTop: 1,
|
|
125
119
|
flexDirection: 'column'
|
|
126
120
|
},
|
|
@@ -251,7 +245,7 @@ class TUI {
|
|
|
251
245
|
|
|
252
246
|
getHeaderLayout(terminalColumns = 80) {
|
|
253
247
|
const detailLines = [];
|
|
254
|
-
const innerWidth = Math.max(1, terminalColumns);
|
|
248
|
+
const innerWidth = Math.max(1, terminalColumns - 4);
|
|
255
249
|
const statusMessages = [];
|
|
256
250
|
|
|
257
251
|
let titleLine = '';
|