opencode-statboard 2.10.5 → 2.10.6
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/package.json +1 -1
- package/tui-dashboard.js +5 -5
package/package.json
CHANGED
package/tui-dashboard.js
CHANGED
|
@@ -325,7 +325,7 @@ class TUIServer {
|
|
|
325
325
|
top: 0,
|
|
326
326
|
left: 0,
|
|
327
327
|
width: '100%',
|
|
328
|
-
height:
|
|
328
|
+
height: 3,
|
|
329
329
|
tags: true,
|
|
330
330
|
border: { type: 'line' },
|
|
331
331
|
style: { border: { fg: 'cyan' } },
|
|
@@ -333,8 +333,8 @@ class TUIServer {
|
|
|
333
333
|
});
|
|
334
334
|
|
|
335
335
|
this.layout.main = blessed.box({
|
|
336
|
-
top:
|
|
337
|
-
bottom:
|
|
336
|
+
top: 3,
|
|
337
|
+
bottom: 3,
|
|
338
338
|
left: 0,
|
|
339
339
|
width: '100%',
|
|
340
340
|
tags: true,
|
|
@@ -351,7 +351,7 @@ class TUIServer {
|
|
|
351
351
|
bottom: 0,
|
|
352
352
|
left: 0,
|
|
353
353
|
width: '100%',
|
|
354
|
-
height:
|
|
354
|
+
height: 3,
|
|
355
355
|
tags: true,
|
|
356
356
|
border: { type: 'line' },
|
|
357
357
|
style: { border: { fg: 'green' } },
|
|
@@ -410,7 +410,7 @@ class TUIServer {
|
|
|
410
410
|
getContentHeight() {
|
|
411
411
|
const mainHeight = this.layout.main.height;
|
|
412
412
|
if (typeof mainHeight === 'number') return mainHeight - 2;
|
|
413
|
-
return this.screen.height -
|
|
413
|
+
return this.screen.height - 8; // header(3) + footer(3) + borders(2)
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
render() {
|