Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Joana Hrotko <[email protected]>
  • Loading branch information
jhrotko committed Mar 12, 2024
1 parent 42d4678 commit 6c22546
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
18 changes: 0 additions & 18 deletions cmd/formatter/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,6 @@ func (l *logConsumer) write(w io.Writer, container, message string) {
if l.ctx.Err() != nil {
return
}
// height := goterm.Height()

// fmt.Print("\0337")
// // Move to last line
// fmt.Printf("\033[%d;0H", height)
// // clear line
// fmt.Print("\033[0K")
// // restore cursor position
// fmt.Print("\0338")
KeyboardInfo.PrintKeyboardInfo(func() {
p := l.getPresenter(container)
timestamp := time.Now().Format(jsonmessage.RFC3339NanoFixed)
Expand All @@ -128,15 +119,6 @@ func (l *logConsumer) write(w io.Writer, container, message string) {
}
}
})

// // save cursor position
// fmt.Print("\0337")
// // Move to last line
// fmt.Printf("\033[%d;0H", height)
// // clear line
// fmt.Print("\033[K" + navColor(" >> [CTRL+G] open project in Docker Desktop [$] get more features"))
// // restore cursor position
// fmt.Print("\0338")
}

func (l *logConsumer) Status(container, msg string) {
Expand Down
2 changes: 0 additions & 2 deletions cmd/formatter/shortcut.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import (
)

type LogKeyboard struct {
// mutex sync.Mutex
// message string
err error
started bool
}
Expand Down

0 comments on commit 6c22546

Please sign in to comment.