pi-zentui 0.22.0 → 0.22.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/README.md +3 -1
- package/extensions/zentui/ui.ts +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -192,8 +192,10 @@ See [CONTRIBUTING.md](https://github.com/lmilojevicc/pi-zentui/blob/main/CONTRIB
|
|
|
192
192
|
- [Opencode](https://github.com/anomalyco/opencode) — inspiration for the Opencode editor treatment
|
|
193
193
|
- [Oh My Pi (`omp`)](https://github.com/can1357/oh-my-pi) by [Can Bölük](https://github.com/can1357) — visual inspiration for the filled, single-left-rail Accent Rail editor
|
|
194
194
|
- [Pi Custom Input](https://github.com/VinhLe1410/pi-custom-input) by [Vinh Le](https://github.com/VinhLe1410) — visual inspiration for Minimalist's framed, border-embedded session, model, context, Git, and path metadata
|
|
195
|
+
- [Pi Thinking Steps](https://github.com/crustyhacker/pi-thinking-steps) by Marc Mironescu / FluxGear — structural-step parsing and the Rail/Tree visual language; adapted in Thinking (Experimental) under the MIT License
|
|
196
|
+
- [Pi Thinking Fold](https://github.com/99percentpeople/pi-extensions/tree/master/extensions/thinking-fold) by [Zach Yuen](https://github.com/99percentpeople) — native rendered-row folding, timing, expand/refold behavior, and fail-open compatibility patterns; adapted in Thinking (Experimental) under the MIT License
|
|
195
197
|
|
|
196
|
-
Zentui
|
|
198
|
+
Most Zentui implementations are independent; these credits acknowledge product and visual inspiration. Thinking (Experimental) also adapts MIT-licensed implementation work from Pi Thinking Steps and Pi Thinking Fold. Their complete copyright and permission notices are retained in the packaged [`thinking-experimental.ts`](./extensions/zentui/thinking-experimental.ts) source.
|
|
197
199
|
|
|
198
200
|
## License
|
|
199
201
|
|
package/extensions/zentui/ui.ts
CHANGED
|
@@ -602,7 +602,7 @@ function renderAccentRailFrameFromBase({
|
|
|
602
602
|
above: parsedTop?.count,
|
|
603
603
|
below: parsedBottom?.count,
|
|
604
604
|
};
|
|
605
|
-
const
|
|
605
|
+
const renderedLines = renderAccentRailEditorFrame({
|
|
606
606
|
width,
|
|
607
607
|
editorLines,
|
|
608
608
|
autocompleteLines,
|
|
@@ -610,6 +610,7 @@ function renderAccentRailFrameFromBase({
|
|
|
610
610
|
uiTheme,
|
|
611
611
|
config,
|
|
612
612
|
});
|
|
613
|
+
const lines = renderedLines.length === 1 ? ["", ...renderedLines, ""] : renderedLines;
|
|
613
614
|
POLISHED_FRAME_SPLITS.set(lines, {
|
|
614
615
|
rows: Object.freeze([...lines]),
|
|
615
616
|
split: { editorLines, trailingLines: autocompleteLines, viewport },
|