cxstatusline 0.1.1
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/LICENSE +21 -0
- package/NOTICE +17 -0
- package/README.md +169 -0
- package/THIRD_PARTY_NOTICES.md +62 -0
- package/dist/THIRD_PARTY_LICENSES.txt +888 -0
- package/dist/cxstatusline.js +65110 -0
- package/package.json +51 -0
- package/patches/codex-0.152.1.patch +1482 -0
- package/patches/codex-0.153.0.patch +1482 -0
- package/patches/codex-0.153.4.patch +1482 -0
- package/patches/ink@6.2.0.patch +17 -0
- package/patches/manifest.json +10 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
diff --git a/build/parse-keypress.js b/build/parse-keypress.js
|
|
2
|
+
index 1e13e819f59d259a3476510db822695576a9d93c..e100611d8661187c4ca191e89621cd5e480fcacc 100644
|
|
3
|
+
--- a/build/parse-keypress.js
|
|
4
|
+
+++ b/build/parse-keypress.js
|
|
5
|
+
@@ -161,9 +161,9 @@ const parseKeypress = (s = '') => {
|
|
6
|
+
key.meta = s.charAt(0) === '\x1b';
|
|
7
|
+
}
|
|
8
|
+
else if (s === '\x7f' || s === '\x1b\x7f') {
|
|
9
|
+
- // TODO(vadimdemedes): `enquirer` detects delete key as backspace, but I had to split them up to avoid breaking changes in Ink. Merge them back together in the next major version.
|
|
10
|
+
- // delete
|
|
11
|
+
- key.name = 'delete';
|
|
12
|
+
+ // On macOS, \x7f is what the backspace key sends, not delete
|
|
13
|
+
+ // The actual forward delete sends escape sequences like \x1b[3~
|
|
14
|
+
+ key.name = 'backspace';
|
|
15
|
+
key.meta = s.charAt(0) === '\x1b';
|
|
16
|
+
}
|
|
17
|
+
else if (s === '\x1b' || s === '\x1b\x1b') {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"tag_prefix": "rust-v",
|
|
4
|
+
"candidate": "0.153.4",
|
|
5
|
+
"patches": [
|
|
6
|
+
{ "min": "0.152.1", "max": "0.152.1", "file": "codex-0.152.1.patch" },
|
|
7
|
+
{ "min": "0.153.0", "max": "0.153.0", "file": "codex-0.153.0.patch" },
|
|
8
|
+
{ "min": "0.153.4", "max": "0.153.4", "file": "codex-0.153.4.patch" }
|
|
9
|
+
]
|
|
10
|
+
}
|