Skip to content

Commit

Permalink
fix bug for loggiing
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
  • Loading branch information
qweeah committed Jul 18, 2023
1 parent 04363b6 commit 93c0148
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/oras/internal/display/console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func (c *Console) OutputTo(upCnt uint, str string) {
func (c *Console) Restore() {
// cannot use aec.Restore since DEC has better compatilibity than SCO
fmt.Fprint(c, "\0338")
fmt.Fprint(c, "\n")
fmt.Fprint(c, aec.Column(0))
fmt.Fprint(c, aec.EraseLine(aec.EraseModes.All))
fmt.Fprint(c, aec.Show)
Expand Down

0 comments on commit 93c0148

Please sign in to comment.