When jumping to command, first line is for issuing next command easily
This commit is contained in:
@@ -403,6 +403,7 @@ BSet Open(Window *window, String path, ResolveOpenMeta meta, bool set_active = t
|
|||||||
NextActiveWindowID = set.window->id;
|
NextActiveWindowID = set.window->id;
|
||||||
}
|
}
|
||||||
JumpTempBuffer(&set);
|
JumpTempBuffer(&set);
|
||||||
|
RawAppend(set.buffer, u"\n");
|
||||||
Exec(set.view->id, false, o.path, GetPrimaryDirectory());
|
Exec(set.view->id, false, o.path, GetPrimaryDirectory());
|
||||||
} else if (o.kind == OpenKind_BackgroundExec) {
|
} else if (o.kind == OpenKind_BackgroundExec) {
|
||||||
// this shouldn't change the focus/window/view
|
// this shouldn't change the focus/window/view
|
||||||
|
|||||||
Reference in New Issue
Block a user