       (when @fullscreen
         (zat/fullscreen! terminal (first (zat/fullscreen-sizes terminal))))
       ;; Start font file change listener thread
+      ; TODO: fix resource reloader
       #_(cwc/start-watch [{:path "./fonts"
                          :event-types [:modify]
                          :bootstrap (fn [path] (println "Starting to watch " path))

  ([viewport-width viewport-height]
    (ortho-matrix-buffer viewport-width viewport-height (BufferUtils/createFloatBuffer 16)))
  ([viewport-width viewport-height ^FloatBuffer matrix-buffer]
    #_(let [ortho-matrix (doto (Matrix4f.)
                             (.ortho2D 0 viewport-width 0 viewport-height))
          matrix-buffer matrix-buffer]
          (.clear matrix-buffer)
          (.get ortho-matrix matrix-buffer)
          (.flip matrix-buffer))
    (let [ortho-matrix (doto (Matrix4f.) (.identity))
          matrix-buffer matrix-buffer
          zNear   10

        (loop-with-index row [line (reverse @character-map)]
          (loop-with-index col [c line]
            (let [chr        (or (get c :fx-character) (get c :character))
                  highlight  (= @cursor-xy [col (- rows row 1)])
                  [fg-r fg-g fg-b] (if highlight
                                     (or (get c :fx-bg-color)  (get c :bg-color))
