Add 'e' key in buffer mode to open the buffer in an editor.

This commit is contained in:
nicm
2020-05-16 15:24:28 +00:00
parent a3cbc014c3
commit 78595457f9
11 changed files with 177 additions and 4 deletions

View File

@ -313,7 +313,7 @@ cmd_display_popup_exec(struct cmd *self, struct cmdq_item *item)
else if (args_has(args, 'E'))
flags |= POPUP_CLOSEEXIT;
if (popup_display(flags, item, px, py, w, h, nlines, lines, shellcmd,
cmd, cwd, tc, target) != 0)
cmd, cwd, tc, target, NULL, NULL) != 0)
return (CMD_RETURN_NORMAL);
return (CMD_RETURN_WAIT);
}