feat: add errout for interactive for script support and atty for clean output
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
use std::{io::Write, time::Duration};
|
||||
use std::{
|
||||
io::{stderr, Write},
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
use anyhow::Context;
|
||||
use crossterm::event::{EventStream, KeyCode, KeyEventKind};
|
||||
use crossterm::{
|
||||
event::{EventStream, KeyCode, KeyEventKind},
|
||||
terminal::{enable_raw_mode, EnterAlternateScreen},
|
||||
ExecutableCommand,
|
||||
};
|
||||
use futures::{FutureExt, StreamExt};
|
||||
use ratatui::{
|
||||
crossterm,
|
||||
@@ -73,6 +80,8 @@ impl InlineCommand {
|
||||
|
||||
drop(guard);
|
||||
|
||||
println!();
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user