-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Today I finally came across a use case for a UI preview. I am still not 100% sure if this is needed, but here are my thoughts
A new --preview
long option that accepts a string representing a command to be run. The command accepts {}
as a substitution for the current selected line. Alternate might be --command
(more general)
If --preview
is not null/empty, then the UI will look like this
> 5/5
main │ command output
missing-return-type │
nathan-pilot │
php-8.1-upgrade │
php-8.1-upgrade-whitespace │
It might also be nice to have a keybind to show/hide the preview (hidden by default?)
Again, I'm not 100% convinced this is needed. Maybe for scripts that require a preview command like this I'll just use fzf or something else.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request