Merge pull request #6 from xmarcos/fix-macos-clear

Added support for `clear` command on macOS (darwin)
This commit is contained in:
Zoraiz Hassan 2021-07-29 03:44:32 -07:00 committed by GitHub
commit 1bf70473f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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