Rust project with git
dependencies that require authentication
#13365
Unanswered
kasferdowsi
asked this question in
General
Replies: 1 comment
-
Seems like a rust-analyzer or maybe even cargo issue. The LSP should not be taking over the tty or stdin |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Using rust-analyzer as the LSP, in a Rust project with a dependency on a private git repo
if the matching ssh key has a passphrase, opening Helix after updating the dependency
rev
but before runningcargo c
(or any other Cargo command that pulls the new dependency) breaks Helix.This seems to happen because the
Enter passphrase for key...
prompt and Helix are competing for user input?Reproduction Steps
I tried this:
git
dependency using an ssh key that has a passphrase, I updated therev
for the dependency inCargo.toml
in Helix..rs
file in the project in helix and started editing.I expected this to happen:
Instead, this happened:
Enter passphrase for key '...':
randomly printing at seemingly random places in my terminal.Helix log
~/.cache/helix/helix.log
Unfortunately I can't post most of the log file, but I included the section with the relevant warning above.
Platform
macOS
Terminal Emulator
wezterm 20240203-110809-5046fc22
Installation Method
brew
Helix Version
helix 25.01.1 (e7ac2fc)
Beta Was this translation helpful? Give feedback.
All reactions