Skip to content

feat: add fifo buffer #13834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

So1aric
Copy link

@So1aric So1aric commented Jun 25, 2025

Add fifo-open typed command, which open a fifo file. This buffer shouldn't be edit imo, so I disable all the edit operation, but you still can select and copy-paste from it, which is expected.

fifo-buffer-demo

This allow us to view a command's output in a buffer. Maybe a new command sh-to-fifo which create a temporary fifo, pipe the output to it, fifo-open the fifo could be introduced.

So1aric added 2 commits June 17, 2025 16:08
Use `pipe` instead of `File`, and replace the
`unwrap`s.
@CalebLarsen
Copy link
Contributor

I'm having a hard time understanding the use case of this feature.

What is being added that can't be done with regular open and the shell commands?

Is it live updating?

@So1aric
Copy link
Author

So1aric commented Jun 27, 2025

I'm trying to add functions that pick the fifobuffers and commands that write to a fifo, which might enable sth. like a repl buffer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants