Skip to content

Commit 6c22546

Browse files
committed
cleanup
Signed-off-by: Joana Hrotko <[email protected]>
1 parent 42d4678 commit 6c22546

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

Diff for: cmd/formatter/logs.go

-18
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,6 @@ func (l *logConsumer) write(w io.Writer, container, message string) {
108108
if l.ctx.Err() != nil {
109109
return
110110
}
111-
// height := goterm.Height()
112-
113-
// fmt.Print("\0337")
114-
// // Move to last line
115-
// fmt.Printf("\033[%d;0H", height)
116-
// // clear line
117-
// fmt.Print("\033[0K")
118-
// // restore cursor position
119-
// fmt.Print("\0338")
120111
KeyboardInfo.PrintKeyboardInfo(func() {
121112
p := l.getPresenter(container)
122113
timestamp := time.Now().Format(jsonmessage.RFC3339NanoFixed)
@@ -128,15 +119,6 @@ func (l *logConsumer) write(w io.Writer, container, message string) {
128119
}
129120
}
130121
})
131-
132-
// // save cursor position
133-
// fmt.Print("\0337")
134-
// // Move to last line
135-
// fmt.Printf("\033[%d;0H", height)
136-
// // clear line
137-
// fmt.Print("\033[K" + navColor(" >> [CTRL+G] open project in Docker Desktop [$] get more features"))
138-
// // restore cursor position
139-
// fmt.Print("\0338")
140122
}
141123

142124
func (l *logConsumer) Status(container, msg string) {

Diff for: cmd/formatter/shortcut.go

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import (
77
)
88

99
type LogKeyboard struct {
10-
// mutex sync.Mutex
11-
// message string
1210
err error
1311
started bool
1412
}

0 commit comments

Comments
 (0)