@qianweiyang/pi-history-cursor-end

extensionmaintained

Move Pi's input cursor to the end of recalled history

by — · v0.1.0 · published 3w ago

$ pi install npm:@qianweiyang/pi-history-cursor-end
downloads/mo
152
stars
0
last push
3w ago
open issues
0

Signals

license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0

Download trend

No downloads in the last 12 weeks.

README

pi-history-cursor-end

Move Pi's input cursor to the end of a recalled prompt. Pressing Up to recall a multiline history entry leaves the cursor at its final line, ready for more text.

The extension also keeps input history across /reload within the current Pi process and restores user prompts when switching sessions.

Install

pi install npm:@qianweiyang/pi-history-cursor-end

Restart Pi after installation.

Compatibility

This package wraps Pi's CustomEditor and reads internal cursor fields that are not part of Pi's public extension API. It is intentionally small, but a Pi editor refactor may require a package update.

License

MIT