We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 473224f commit c69e014Copy full SHA for c69e014
2 files changed
cmd/soroban-cli/src/commands/snapshot/create.rs
@@ -277,10 +277,10 @@ impl Cmd {
277
.map_err(Error::ReadOpeningCachedBucket)?;
278
279
let message = format!("Searching bucket {i} {bucket}");
280
- print.search(format!("{message}…"));
+ print.searchln(format!("{message}…"));
281
282
if let Ok(metadata) = file.metadata() {
283
- print.clear_line();
+ print.clear_previous_line();
284
print.searchln(format!("{message} ({})", ByteSize(metadata.len())));
285
}
286
cmd/soroban-cli/src/print.rs
@@ -31,14 +31,6 @@ impl Print {
31
32
33
34
- pub fn clear_line(&self) {
35
- if cfg!(windows) {
36
- eprint!("\r");
37
- } else {
38
- eprint!("\r\x1b[2K");
39
- }
40
41
-
42
pub fn clear_previous_line(&self) {
43
if !self.quiet {
44
if cfg!(windows) {
0 commit comments