tasktui 1.0.4 → 1.0.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/dist/renderer.js +3 -3
- package/package.json +1 -1
package/dist/renderer.js
CHANGED
|
@@ -10,7 +10,7 @@ export function render(ui, state) {
|
|
|
10
10
|
const lines = [];
|
|
11
11
|
// Running section
|
|
12
12
|
if (running.length > 0) {
|
|
13
|
-
lines.push(`{gray-fg}
|
|
13
|
+
lines.push(`{gray-fg}▶ Running (${running.length}){/}`);
|
|
14
14
|
for (const name of running) {
|
|
15
15
|
const isSelected = name === state.selectedTask;
|
|
16
16
|
const color = isSelected ? 'yellow-fg' : 'white-fg';
|
|
@@ -20,7 +20,7 @@ export function render(ui, state) {
|
|
|
20
20
|
}
|
|
21
21
|
// Queued section
|
|
22
22
|
if (queued.length > 0) {
|
|
23
|
-
lines.push(`{gray-fg}
|
|
23
|
+
lines.push(`{gray-fg}⏱ Queued (${queued.length}){/}`);
|
|
24
24
|
for (const queueItem of queued) {
|
|
25
25
|
const isSelected = queueItem.name === state.selectedTask;
|
|
26
26
|
const color = isSelected ? 'yellow-fg' : 'gray-fg';
|
|
@@ -30,7 +30,7 @@ export function render(ui, state) {
|
|
|
30
30
|
}
|
|
31
31
|
// Completed section
|
|
32
32
|
if (completed.length > 0) {
|
|
33
|
-
lines.push(`{gray-fg}
|
|
33
|
+
lines.push(`{gray-fg}■ Completed (${completed.length}){/}`);
|
|
34
34
|
for (const name of completed) {
|
|
35
35
|
const buffer = state.buffers[name];
|
|
36
36
|
const isSelected = name === state.selectedTask;
|