From 22a82db94683883d9acad9b6993c26d7e0a4e9ad Mon Sep 17 00:00:00 2001 From: Krzosa Karol Date: Fri, 30 Jan 2026 19:48:50 +0100 Subject: [PATCH] When jumping to command, first line is for issuing next command easily --- src/text_editor/ui.cpp | 1 + 1 file changed, 1 insertion(+) 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