Skip to content

Commit

Permalink
fix: line disappearing on terminal resize (#3786)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored Dec 17, 2024
1 parent de06a31 commit edbec24
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/terminal/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ func NewStatusManager(ctx context.Context) StatusManager {
// Block until a signal is received.
<-c
sm.statusLock.Lock()
sm.clearStatusMessages()

sm.width, sm.height, _ = term.GetSize(int(sm.old.Fd())) //nolint:errcheck
sm.recalculateLines()
sm.statusLock.Unlock()
Expand Down

0 comments on commit edbec24

Please sign in to comment.