Skip to content

Commit

Permalink
add brank
Browse files Browse the repository at this point in the history
  • Loading branch information
uzimaru0000 committed Jun 17, 2024
1 parent f4ef04b commit a1f493d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ impl Cli {
}
let args = init.to_curl_args().map_err(AppError::ParseError)?;

eprint!("\n");
println!("{}", args.join(" "));

Ok(())
Expand Down
4 changes: 3 additions & 1 deletion src/prompt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ where
) -> anyhow::Result<RequestInit> {
self.provider.term().clear()?;

self.provider.begin()?;
self.provider.with_intro("Build Request").begin()?;
let mut path_prompt = self.path_prompt()?;
let (path, path_item) = if let Some(path) = path {
let path_item = self
Expand Down Expand Up @@ -209,6 +209,8 @@ where
None
};

self.provider.finish()?;

Ok(RequestInit {
method,
base: String::new(),
Expand Down

0 comments on commit a1f493d

Please sign in to comment.