buninu 0.1.5 → 0.1.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/README.md +7 -4
- package/bin/init.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,10 +28,13 @@ and self-bootstrapping design.
|
|
|
28
28
|
|
|
29
29
|
## Differences from upstream
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
### The bundled jsmdcui
|
|
32
|
+
* Is configured editor-first by MDCUI_DEFAULT_EDIT
|
|
33
|
+
* The command `jmi` with a Markdown file opens the normal terminal editor.(js micro editor)
|
|
34
|
+
* The command `jsmdcui` preserves its original behavior: `apps/jsmdcui/jsmdcui.sh`, which starts its `tui` entry point with `--mdcui` when running markdown Apps, and forwards all command-line arguments.
|
|
35
|
+
### The bundled jsgotty
|
|
36
|
+
* No longer depends on or ships `node-pty`.
|
|
37
|
+
* Its PTY is provided by Bun's terminal API.
|
|
35
38
|
|
|
36
39
|
## Install Bun
|
|
37
40
|
|
package/bin/init.js
CHANGED
|
@@ -119,7 +119,7 @@ async function findCommand(command) {
|
|
|
119
119
|
|
|
120
120
|
async function detectEnvironment() {
|
|
121
121
|
const windows = process.platform === "win32" || Boolean(process.env.WINDIR);
|
|
122
|
-
const termux = !windows && await pathExists("/data/data/com.termux");
|
|
122
|
+
const termux = !windows && await pathExists("/data/data/com.termux/files/usr/bin/bash");
|
|
123
123
|
const android = !windows && !termux && (
|
|
124
124
|
process.platform === "android" ||
|
|
125
125
|
await pathExists("/system/bin/linker64") ||
|
package/package.json
CHANGED