We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 22194f6 + 48b150b commit 285a9c9Copy full SHA for 285a9c9
pkg/progress/tty.go
@@ -83,7 +83,10 @@ func (w *ttyWriter) Event(e Event) {
83
last.Status = e.Status
84
last.Text = e.Text
85
last.StatusText = e.StatusText
86
- last.ParentID = e.ParentID
+ // allow set/unset of parent, but not swapping otherwise prompt is flickering
87
+ if last.ParentID == "" || e.ParentID == "" {
88
+ last.ParentID = e.ParentID
89
+ }
90
w.events[e.ID] = last
91
} else {
92
e.startTime = time.Now()
0 commit comments