pi-no-soft-cursor
Remove the editor's reverse-video soft cursor · from yapp
Package details
Install pi-no-soft-cursor from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-no-soft-cursor- Package
pi-no-soft-cursor- Version
1.0.1- Published
- Mar 15, 2026
- Downloads
- 49/mo · 8/wk
- Author
- mgabor3141
- License
- MIT
- Types
- extension
- Size
- 5.7 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-no-soft-cursor
Remove the reverse-video block cursor from pi's editor. Your terminal's native blinking cursor still shows the insertion point — just without the highlighted character block drawn on top.
Install
pi install npm:pi-no-soft-cursor
What it does
Pi's text editor renders a "soft cursor": the character under the cursor is shown in reverse video (a highlighted block). Some terminals already show a blinking cursor via the hardware cursor marker, making the soft cursor redundant or visually noisy.
This extension:
- Strips the soft cursor — patches editor rendering to remove the last reverse-video span from each rendered line (the one the editor uses for the cursor block).
- Still works with editor-overriding extensions — if another extension installs its own editor component, this package wraps that editor too instead of fighting to be the last
setEditorComponent()call. - Forces the hardware cursor on — pi has a "Show hardware cursor" setting that is off by default. This extension enables it unconditionally so the terminal's native cursor is always visible.
Note: With this extension active, pi's "Show hardware cursor" setting has no effect — the hardware cursor is always enabled.
Setup
After installing, reload pi with /reload or restart it.
Configuration
None. Install and it works.