pi-autosuggestions 0.3.0 → 0.3.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{".":"0.3.
|
|
1
|
+
{".":"0.3.1"}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.1](https://github.com/0xPlayerOne/pi-autosuggestions/compare/pi-autosuggestions-v0.3.0...pi-autosuggestions-v0.3.1) (2026-09-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* keep the character under the cursor visible while the beam blinks ([16833a7](https://github.com/0xPlayerOne/pi-autosuggestions/commit/16833a788d30fb92e99a98fd29927d2ecaed8790))
|
|
9
|
+
|
|
3
10
|
## [0.3.0](https://github.com/0xPlayerOne/pi-autosuggestions/compare/pi-autosuggestions-v0.2.4...pi-autosuggestions-v0.3.0) (2026-09-04)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -203,7 +203,11 @@ class BashInlineEditor extends CustomEditor {
|
|
|
203
203
|
return out;
|
|
204
204
|
}
|
|
205
205
|
const ch = match[1] || " ";
|
|
206
|
-
|
|
206
|
+
// The beam only replaces empty cells — over a letter it would black
|
|
207
|
+
// the character out every other blink. Cursor over a letter instead
|
|
208
|
+
// renders that letter underlined while visible (zsh bar cursors draw
|
|
209
|
+
// the bar in the same cell; a terminal grid can't, so underline wins).
|
|
210
|
+
const cursorCell = this.cursorOn ? (ch === " " ? BEAM : `\x1b[4m${ch}${RESET}`) : ch;
|
|
207
211
|
out[rowIdx] = head + cursorCell + row.slice(match.index + match[0].length);
|
|
208
212
|
return out;
|
|
209
213
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-autosuggestions",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "zsh-autosuggestions-style ghost completions for the pi coding agent — history-based inline suggestions, path completion in bash mode, blinking beam cursor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|