 (defonce net (nodejs/require "net"))
 
 (declare term)
-
-(defn setup [term]
-  (do
-    (.applicationKeypad term)
-    (.hideCursor term)
-    (.grabInput term #js { :mouse "button" :focus true })
-    ))
-
-(defn teardown [term]
-  (.removeAllListeners term "key")
-  (.removeAllListeners keyboard/emitter))
 
 (defonce character (atom
                      (assoc character/base-character

      (character/drop-item! level character lastItem)
      (show-screen))))

(defn popper! [queue]
  (go-loop [q queue]
    (if (not (empty? @queue))
      (let [next-action (peek @queue)
            action-name (first next-action)
            args        (rest next-action)

                          )]

        (apply function args)
        (swap! queue pop)))

    (<! (timeout 100))
    (recur queue))
