-
Notifications
You must be signed in to change notification settings - Fork 93
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
Parse std::process::Child
stdout
#354
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am developing a TUI program and one of the features is that I can open
vim
for any file. The problem is that vim outputs some ANSI escape codes that I would like to strip out (the enable and disable alternative screen codes). I'm trying to usecombine
to do so but am running into some difficulty and was wondering if I could get some guidance.Here is what I current have:
std::process::Child
std::io::BufReader
ParitalStream
with itparse_with_state
on my parserI can't seem to get this approach to compile b/c of some lifetime errors. Is this the right approach or is there a better way to do this w/
combine
?Here is a snippet of the code I described above:
The text was updated successfully, but these errors were encountered: