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.
Files changed (2) hide show
  1. package/index.ts +4 -1
  2. 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
- const editor = new CustomEditor(tui, theme, keybindings);
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-atuin",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "type": "module",
5
5
  "description": "Atuin-style fuzzy history search for pi. Press ↑ for interactive history.",
6
6
  "license": "MIT",