aboutsummaryrefslogtreecommitdiff
path: root/easteregg.go
diff options
context:
space:
mode:
Diffstat (limited to 'easteregg.go')
-rw-r--r--easteregg.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/easteregg.go b/easteregg.go
index e9afa9d..232ca40 100644
--- a/easteregg.go
+++ b/easteregg.go
@@ -302,8 +302,12 @@ var easteregg = []string{
}
func (c Cutter) EasterEgg() {
- for _, l := range easteregg {
- fmt.Fprint(c, l)
+ c.Raw(easteregg)
+}
+
+func (c Cutter) Raw(s []string) {
+ for _, cmd := range s {
+ fmt.Fprint(c, cmd)
c.Emit()
c.Wait()
}