         (stderr (stacktrace-string (nrepl-trace nrepl-client))
         ))
     @result)))
-
-(defn nrepl-complete
-  [code nrepl-client]
+(defn nrepl-complete [code nrepl-client]
   (let [ns @current-ns
         result (-> nrepl-client
                    (nrepl/message {:op :complete

    (nrepl.server/stop-server server)
    (send-router-message socket
                         "shutdown_reply"
                         content parent_header session-id metadata signer ident)
    (Thread/sleep 100)))

(defn is-complete-reply-content

    (reset! nrepl-server server)
    (reset! nrepl-session session)
    (let [shell-handler     (configure-shell-handler
                             shell-socket stdin-socket iopub-socket signer client)
          sigint-handle (fn [] (nrepl-interrupt client))]
      (reset! (beckon/signal-atom "INT") #{sigint-handle})
      (event-loop shell-socket iopub-socket signer shell-handler))))
