pi-atuin 0.1.12 → 0.1.13
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/index.ts +4 -1
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -45,7 +45,10 @@ export default function piAtuin(pi: ExtensionAPI) {
|
|
|
45
45
|
if (ctx.mode !== "tui") return;
|
|
46
46
|
|
|
47
47
|
ctx.ui.setEditorComponent((tui, theme, keybindings) => {
|
|
48
|
-
|
|
48
|
+
// embedWorkingStatus (v0.85.0+): render status spinners in the editor's top
|
|
49
|
+
// border like the built-in editor instead of the separate status row.
|
|
50
|
+
// Older pi runtimes ignore the option and fall back to the status container.
|
|
51
|
+
const editor = new CustomEditor(tui, theme, keybindings, { embedWorkingStatus: true });
|
|
49
52
|
|
|
50
53
|
editor.onExtensionShortcut = (data: string) => {
|
|
51
54
|
if (matchesKey(data, Key.up) && editor.getText().length === 0) {
|