-
Notifications
You must be signed in to change notification settings - Fork 1
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
Failed to initialize input reader #2
Comments
Following some of the links it seems that the crossterm problem can be fixed, here's the link to a repo example https://github.com/cosmikwolf/piped_cli_interactive, I cannot test it, but if you give it a try I can integrate the changes necessary to make Are you able to use the I'll try to investigate a bit more this issue this week. |
Yup, I’m back.
This is probably not an issue in Shai, but affects it.
I followed the instructions in the README. Installed the necessary script to make it work in my shell as well. I’ve tried both in my default Zsh and in Bash.
First, in Zsh, when starting Shai, it exits immediately and outputs:
Seems it cannot capture
stdin
or something.I’m using Oh-My-Zsh. I thought maybe
tmux
, oratuin
, orfzf
was interfering. I started Zsh without no config and no plugin instead, except the script needed by Shai. I even tried different keybindings. Sadly, same error.I tried the same in Bash. The UI does show up, and I can the commands after sending my prompt. But accepting the command just exits, and outputs nothing in the command line.
Sounds like this is an issue in crossterm not working with ttys on macOS as mentioned in an issue with rust-pager. I see Shai is using crossterm. I guess it isn’t that cross-platform after all.
¯\_(ツ)_/¯
For now, I can at least use Shai in Zsh with the following:
The text was updated successfully, but these errors were encountered: