Give life πTo Dead πTerminal with EternalFlame π₯
import PackageDescription
let package = Package(
name: "MyPackage",
dependencies: [
.package(url: "http://github.com/aniket965/EternalFlame.git", from: "1.0.0")
],
targets: [
.target(
name: "MyPackage",
dependencies: ["EternalFlame"]
)
]
)
import EternalFlame
let flame = EternalFlame(frames:["π ","π ","π "],delay:100000)
flame.giveLife()
sleep(3)
flame.takeLife()