opencode-top 3.2.1 → 3.2.2
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/bin/octop.js +2 -2
- package/dist/cli.mjs +4 -4
- package/package.json +1 -1
- package/patches/ink+5.2.1.patch +8 -13
package/bin/octop.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { dirname, join } from "path";
|
|
3
|
-
import { fileURLToPath } from "url";
|
|
3
|
+
import { fileURLToPath, pathToFileURL } from "url";
|
|
4
4
|
|
|
5
5
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
6
|
-
await import(join(__dirname, "..", "dist", "cli.mjs"));
|
|
6
|
+
await import(pathToFileURL(join(__dirname, "..", "dist", "cli.mjs")).href);
|
package/dist/cli.mjs
CHANGED
|
@@ -17935,10 +17935,10 @@ var Ink = class {
|
|
|
17935
17935
|
this.fullStaticOutput += staticOutput;
|
|
17936
17936
|
}
|
|
17937
17937
|
if (outputHeight >= this.options.stdout.rows) {
|
|
17938
|
-
this.
|
|
17939
|
-
|
|
17940
|
-
|
|
17941
|
-
|
|
17938
|
+
if (output !== this.lastOutput) {
|
|
17939
|
+
this.log(output);
|
|
17940
|
+
this.lastOutput = output;
|
|
17941
|
+
}
|
|
17942
17942
|
return;
|
|
17943
17943
|
}
|
|
17944
17944
|
if (hasStaticOutput) {
|
package/package.json
CHANGED
package/patches/ink+5.2.1.patch
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
+ if (this.fullStaticOutput) this.options.stdout.write(this.fullStaticOutput);
|
|
10
|
-
+ this.log(output);
|
|
11
|
-
this.lastOutput = output;
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
1
|
+
122,123c122,125
|
|
2
|
+
< this.options.stdout.write(ansiEscapes.clearTerminal + this.fullStaticOutput + output);
|
|
3
|
+
< this.lastOutput = output;
|
|
4
|
+
---
|
|
5
|
+
> if (output !== this.lastOutput) {
|
|
6
|
+
> this.log(output);
|
|
7
|
+
> this.lastOutput = output;
|
|
8
|
+
> }
|