                session-name tab-name tab-index pane-index)))
     (mesh:pane--make-buffer-eshell-mode buffer)
     (mesh:pane--set-mode-line buffer)
+    (mesh:pane--set-header-line buffer)
     (mesh:pane--make-pane
      session-name tab-name pane-index buffer)))
 

                      session-name tab-name tab-index pane-index)))
    (mesh:pane--make-buffer-eshell-mode buffer)
    (mesh:pane--set-mode-line buffer)
    (mesh:pane--make-pane
     session-name tab-name pane-index buffer)))


          mesh:mode-line-format)
    (force-mode-line-update)))

(cl-defun mesh:pane--set-header-line (buffer)
  (with-current-buffer buffer
    (setq header-line-format
          mesh:header-line-format)))

(cl-defun mesh:pane--get-buffer-create
    (session-name tab-name tab-index pane-index)
  (get-buffer-create
