Skip to content
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

File picker freezes trying to read named pipes #5210

Closed
FinnPerry opened this issue Dec 19, 2022 · 0 comments · Fixed by #5658
Closed

File picker freezes trying to read named pipes #5210

FinnPerry opened this issue Dec 19, 2022 · 0 comments · Fixed by #5658
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug

Comments

@FinnPerry
Copy link

Summary

If the file picker tries to preview a named pipe then helix will freeze until you write data to the pipe (most of the time 2 writes are needed).

Reproduction Steps

I tried this:

  1. mkfifo mypipe
  2. hx
  3. <space>fmypipe

I expected this to happen:

Helix detects that the file is a named pipe and doesn't attempt to show a preview (at least not in a blocking way).

Instead, this happened:

Once the fuzzy search lands on the pipe, helix will freeze waiting for data to exist in the pipe.

Helix log

~/.cache/helix/helix.log
The log was blank.

Platform

Linux

Terminal Emulator

foot

Helix Version

helix 22.12

@FinnPerry FinnPerry added the C-bug Category: This is a bug label Dec 19, 2022
@kirawi kirawi added the A-helix-term Area: Helix term improvements label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants