We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When i wrote the rust code below by helix and excecuted :run-shell-command cargo run
rust
helix
:run-shell-command cargo run
use std::thread::sleep; use std::time::Duration; const CLEAR_TERMINAL: &str = "\x1B[2J\x1B[1;1H"; fn main() { let nums = (0..5).into_iter(); nums.for_each(|n| { let progress = "*".repeat(n); println!("{}{}", CLEAR_TERMINAL, progress); sleep(Duration::from_secs(1)); }); }
The result was that whole aggregated lines appeared after all the process had been done.
But actually what i expected was that, every second, the terminal cleared and the * was increasing up to ****.
*
****
The :run-shell-command is inconvenient in that:
:run-shell-command
Command failed
Popup terminal like vim-floaterm plugin
vim-floaterm
The text was updated successfully, but these errors were encountered:
Duplicate of #1976
Sorry, something went wrong.
No branches or pull requests
Background to request the feature
When i wrote the
rust
code below byhelix
and excecuted:run-shell-command cargo run
The result was that whole aggregated lines appeared after all the process had been done.
But actually what i expected was that, every second, the terminal cleared and the
*
was increasing up to****
.The
:run-shell-command
is inconvenient in that:Command failed
phrase shows up at the bottom so cannot know what went wrong with it.Request
Popup terminal like
vim-floaterm
pluginThe text was updated successfully, but these errors were encountered: