summaryrefslogtreecommitdiffstats
path: root/cmd-break-pane.c
diff options
context:
space:
mode:
authorNicolas Viennot <nicolas@viennot.biz>2013-06-01 23:16:06 -0400
committerNicolas Viennot <nicolas@viennot.biz>2013-06-10 01:54:57 -0400
commit220b2afb3c4596b875624a5024fff134234cb102 (patch)
treea112fc91f7404c962b601ed2792d07e5ab1b21f6 /cmd-break-pane.c
parent1b083aa0fd2d8ac000504488135bf58e35c3361e (diff)
Client side first shot
Diffstat (limited to 'cmd-break-pane.c')
-rw-r--r--cmd-break-pane.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd-break-pane.c b/cmd-break-pane.c
index 8ed9a1a6..a0e85513 100644
--- a/cmd-break-pane.c
+++ b/cmd-break-pane.c
@@ -41,6 +41,10 @@ const struct cmd_entry cmd_break_pane_entry = {
enum cmd_retval
cmd_break_pane_exec(struct cmd *self, struct cmd_q *cmdq)
{
+#ifdef TMATE
+ cmdq_error(cmdq, "break pane is not supported with tmate");
+ return (CMD_RETURN_ERROR);
+#else
struct args *args = self->args;
struct winlink *wl;
struct session *s;
@@ -112,4 +116,5 @@ cmd_break_pane_exec(struct cmd *self, struct cmd_q *cmdq)
format_free(ft);
}
return (CMD_RETURN_NORMAL);
+#endif
}