@f5-sales-demo/pi-tui 19.105.7 → 20.0.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/CHANGELOG.md +7 -1
- package/package.json +3 -3
- package/src/components/editor.ts +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [20.0.0] - 2026-08-01
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Apply the slash-command menu layout so long command names no longer hide descriptions.
|
|
10
|
+
|
|
5
11
|
## [14.1.1] - 2026-04-14
|
|
6
12
|
|
|
7
13
|
### Breaking Changes
|
|
@@ -699,4 +705,4 @@ Initial release under @oh-my-pi scope. See previous releases at [badlogic/pi-mon
|
|
|
699
705
|
|
|
700
706
|
### Fixed
|
|
701
707
|
|
|
702
|
-
- **Readline-style Ctrl+W**: Now skips trailing whitespace before deleting the preceding word, matching standard readline behavior. ([#306](https://github.com/badlogic/pi-mono/pull/306) by [@kim0](https://github.com/kim0))
|
|
708
|
+
- **Readline-style Ctrl+W**: Now skips trailing whitespace before deleting the preceding word, matching standard readline behavior. ([#306](https://github.com/badlogic/pi-mono/pull/306) by [@kim0](https://github.com/kim0))
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@f5-sales-demo/pi-tui",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "20.0.1",
|
|
5
5
|
"description": "Terminal User Interface library with differential rendering for efficient text-based applications",
|
|
6
6
|
"homepage": "https://github.com/f5-sales-demo/xcsh",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"fmt": "biome format --write ."
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@f5-sales-demo/pi-natives": "
|
|
41
|
-
"@f5-sales-demo/pi-utils": "
|
|
40
|
+
"@f5-sales-demo/pi-natives": "20.0.1",
|
|
41
|
+
"@f5-sales-demo/pi-utils": "20.0.1",
|
|
42
42
|
"marked": "^18.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
package/src/components/editor.ts
CHANGED
|
@@ -2441,11 +2441,8 @@ export class Editor implements Component, Focusable {
|
|
|
2441
2441
|
prefix: string,
|
|
2442
2442
|
items: Array<{ value: string; label: string; description?: string }>,
|
|
2443
2443
|
): SelectList {
|
|
2444
|
-
// Layout options prepared for future SelectList enhancements (e.g., for slash commands)
|
|
2445
2444
|
const layout = prefix.startsWith("/") ? SLASH_COMMAND_SELECT_LIST_LAYOUT : undefined;
|
|
2446
|
-
|
|
2447
|
-
void layout; // Use layout variable to avoid lint warnings
|
|
2448
|
-
return new SelectList(items, this.#autocompleteMaxVisible, this.#theme.selectList);
|
|
2445
|
+
return new SelectList(items, this.#autocompleteMaxVisible, this.#theme.selectList, layout);
|
|
2449
2446
|
}
|
|
2450
2447
|
|
|
2451
2448
|
#handleTabCompletion(): void {
|