mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 19:23:01 +00:00
Ensure the clearLine method works properly
This commit is contained in:
parent
3a06d72a78
commit
3e8f48ad32
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ func clearLine() {
|
|||
guard isatty(fileno(stdout)) != 0 else {
|
||||
return
|
||||
}
|
||||
print("\(csi)2K\(csi)0G")
|
||||
print("\(csi)2K\(csi)0G", terminator: "")
|
||||
fflush(stdout)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue