Added support for `clear` command on macOS (darwin)

This fixes the issue "Error: your platform is unsupported, terminal can't be cleared" when trying to convert a GIF in macOS.
This commit is contained in:
Marcos Sader 2021-07-29 00:45:25 -03:00
parent 37be61171d
commit 4597533c4f
No known key found for this signature in database
GPG Key ID: 9D549BB373B7F4BA
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ func init() {
cmd.Stdout = os.Stdout
cmd.Run()
}
clear["darwin"] = clear["linux"]
}
func clearScreen() {