When jumping to command, first line is for issuing next command easily

This commit is contained in:
Krzosa Karol
2026-01-30 19:48:50 +01:00
parent 4e8987101d
commit 22a82db946

View File

@@ -403,6 +403,7 @@ BSet Open(Window *window, String path, ResolveOpenMeta meta, bool set_active = t
NextActiveWindowID = set.window->id;
}
JumpTempBuffer(&set);
RawAppend(set.buffer, u"\n");
Exec(set.view->id, false, o.path, GetPrimaryDirectory());
} else if (o.kind == OpenKind_BackgroundExec) {
// this shouldn't change the focus/window/view