Some more easy floating panes bits.

This commit is contained in:
nicm
2026-05-19 12:16:25 +00:00
parent a46cdb8bbc
commit f5a086ac98
9 changed files with 75 additions and 26 deletions

View File

@@ -62,6 +62,10 @@ cmd_kill_pane_exec(struct cmd *self, struct cmdq_item *item)
return (CMD_RETURN_NORMAL);
}
if (wp == NULL) {
cmdq_error(item, "no active pane to kill");
return (CMD_RETURN_ERROR);
}
server_kill_pane(wp);
return (CMD_RETURN_NORMAL);
}