diff --git a/src/text_editor/ui.cpp b/src/text_editor/ui.cpp index 47f84cd..222f082 100644 --- a/src/text_editor/ui.cpp +++ b/src/text_editor/ui.cpp @@ -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