We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96e5b2e commit 96062b0Copy full SHA for 96062b0
lib/ui/utils.ts
@@ -213,9 +213,17 @@ export function formatSessionMap(
213
const bar = new Array(width).fill("█")
214
215
for (let m = 0; m < total; m++) {
216
+ const start = Math.floor((cum[m] / totalWeight) * width)
217
+ const end = Math.floor((cum[m + 1] / totalWeight) * width)
218
+
219
+ if (messageIds[m] === "__system__") {
220
+ for (let i = start; i < end; i++) {
221
+ bar[i] = "▌"
222
+ }
223
+ continue
224
225
226
if (prunedMessages.has(messageIds[m])) {
- const start = Math.floor((cum[m] / totalWeight) * width)
- const end = Math.floor((cum[m + 1] / totalWeight) * width)
227
const char = newPrunedIds.has(messageIds[m]) ? "⣿" : "░"
228
for (let i = start; i < end; i++) {
229
bar[i] = char
0 commit comments