copilot-statusline 0.1.4 → 0.1.5
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.
|
@@ -52940,7 +52940,7 @@ import { execSync as execSync3 } from "child_process";
|
|
|
52940
52940
|
import * as fs5 from "fs";
|
|
52941
52941
|
import * as path4 from "path";
|
|
52942
52942
|
var __dirname = "/Users/ts/workspace/active/statusline/copilot_statusline/src/utils";
|
|
52943
|
-
var PACKAGE_VERSION = "0.1.
|
|
52943
|
+
var PACKAGE_VERSION = "0.1.5";
|
|
52944
52944
|
function getPackageVersion() {
|
|
52945
52945
|
if (/^\d+\.\d+\.\d+/.test(PACKAGE_VERSION)) {
|
|
52946
52946
|
return PACKAGE_VERSION;
|
|
@@ -54472,7 +54472,7 @@ function makeUsageProgressBar(percent, width = 15, powerlineMode = false) {
|
|
|
54472
54472
|
const empty = width - filled;
|
|
54473
54473
|
const bar = "█".repeat(filled) + "░".repeat(empty);
|
|
54474
54474
|
if (powerlineMode) {
|
|
54475
|
-
return `\x1B[
|
|
54475
|
+
return `\x1B[38;5;231m[${bar}]`;
|
|
54476
54476
|
}
|
|
54477
54477
|
return "[" + bar + "]";
|
|
54478
54478
|
}
|
package/package.json
CHANGED