[BUG] Guest build.rs logs output to stdout
overwrites tty
display using Helix editor with Rust analyzer LSP
#1685
Labels
bug
Something isn't working
Bug Report
When using rust-analyzer as the LSP with Helix as terminal-based editor, risc0 guest crate build output will be displayed overriding the display of the code loaded in the editor. See a screen recording here: helix-editor/helix#10038
I assumed this was an issue with the editor only at first (and it should not allow this to happen IMHO) but this would not be an issue if risc0 didn't write out to the stdout/err buffer in such a way that causes this. Note that no other crates I have used with helix have had such an issue for me, but all risc0 ones with
methods/build.rs
do.Steps to Reproduce
methods/build.rs
tooling that writes logs to some buffer)Expected behavior
No output should be displayed on the editor with the LSP running in a background task.
I would propose that the build tooling is modified to direct to stderr or other buffer that should avoid this 🤞
Your Environment
Additional context
I have not pushed to get the Helix side of things patched to mitigate this, but I would think other editors like nvim might have the same issue too...?
The text was updated successfully, but these errors were encountered: