mirror of https://github.com/docker/compose.git
enforce keyboard.Close is always executed to restore terminal
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
d633c33a19
commit
084a5ca312
|
@ -95,6 +95,7 @@ func (s *composeService) Up(ctx context.Context, project *types.Project, options
|
|||
if err != nil {
|
||||
logrus.Warn("could not start menu, an error occurred while starting.")
|
||||
} else {
|
||||
defer keyboard.Close() //nolint:errcheck
|
||||
isWatchConfigured := s.shouldWatch(project)
|
||||
isDockerDesktopActive := s.isDesktopIntegrationActive()
|
||||
isDockerDesktopComposeUI := s.isDesktopUIEnabled()
|
||||
|
|
Loading…
Reference in New Issue