From 79cea3e7acc8abc3df86fca5c132b166647e4c5f Mon Sep 17 00:00:00 2001 From: Allard Hendriksen Date: Mon, 16 Jul 2018 13:53:33 +0200 Subject: [PATCH] Use the org-babel-tmux-start-terminal-window function It was not used previously.. This adds support for starting an xterm terminal --- ob-tmux.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ob-tmux.el b/ob-tmux.el index 515b718..da63a92 100644 --- a/ob-tmux.el +++ b/ob-tmux.el @@ -88,10 +88,7 @@ must be created." (unless session-alive (org-babel-tmux-create-session session)) (unless window-alive (org-babel-tmux-create-window session)) (unless session-alive - (start-process process-name "*Messages*" - terminal "--" - org-babel-tmux-location "attach-session" - "-t" (org-babel-tmux-target-session session))) + (org-babel-tmux-start-terminal-window session terminal)) ;; XXX: Is there a better way than the following? ;; wait until tmux session is available before returning (while (not (org-babel-tmux-session-alive-p session)))))