Merge remote-tracking branch 'krobelus/kak-c-initial-buffer-pos'
This commit is contained in:
commit
f4efde7e08
10
src/main.cc
10
src/main.cc
|
@ -1164,8 +1164,14 @@ int main(int argc, char* argv[])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
String new_files;
|
String new_files;
|
||||||
for (auto name : files)
|
for (auto name : files) {
|
||||||
new_files += format("edit '{}';", escape(real_path(name), "'", '\\'));
|
new_files += format("edit '{}'", escape(real_path(name), "'", '\\'));
|
||||||
|
if (init_coord) {
|
||||||
|
new_files += format(" {} {}", init_coord->line + 1, init_coord->column + 1);
|
||||||
|
init_coord.reset();
|
||||||
|
}
|
||||||
|
new_files += ";";
|
||||||
|
}
|
||||||
|
|
||||||
return run_client(*server_session, {}, new_files + client_init, init_coord, ui_type, false);
|
return run_client(*server_session, {}, new_files + client_init, init_coord, ui_type, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user