Skip to content

Commit 753685a

Browse files
author
Thomas Hauschild
committed
fix: restore TTY after prompting for theme selection in BuildThemeCommand and ThemeWatchCommand 🎨
1 parent a01f38d commit 753685a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Console/Command/BuildThemeCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
5757
);
5858

5959
$themeCodes = $themeCodesPrompt->prompt();
60+
\Laravel\Prompts\Prompt::terminal()->restoreTty();
6061
}
6162

6263
return $this->processBuildThemes($themeCodes, $io, $output, $isVerbose);

src/Console/Command/ThemeWatchCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
5555
);
5656

5757
$themeCode = $themeCodePrompt->prompt();
58+
\Laravel\Prompts\Prompt::terminal()->restoreTty();
5859
}
5960

6061
try {

0 commit comments

Comments
 (0)