Fix: avoid raw terminal after ctrl+c exit

This commit is contained in:
Grail Finder
2026-03-04 08:25:53 +03:00
parent 3611d7eb59
commit 58ccd63f4a
3 changed files with 61 additions and 1 deletions

View File

@@ -101,6 +101,14 @@ var (
page playwright.Page
)
func pwShutDown() error {
if pw == nil {
return nil
}
pwStop(nil)
return pw.Stop()
}
func installPW() error {
err := playwright.Install(&playwright.RunOptions{Verbose: false})
if err != nil {