Reimplementing save/load file

This commit is contained in:
Yousef Khadadeh 2026-01-01 22:46:02 +03:00
parent 260288a1b0
commit 9913eb6c8e
37 changed files with 437 additions and 350 deletions

View file

@ -526,13 +526,13 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char **argv) {
if(listOfFilesToOpenFromCommand.empty()) {
mS.m->new_tab({
.conType = World::CONNECTIONTYPE_LOCAL
.isClient = false
}, true);
}
else {
for(std::filesystem::path& f : listOfFilesToOpenFromCommand) {
mS.m->new_tab({
.conType = World::CONNECTIONTYPE_LOCAL,
.isClient = false,
.filePathSource = f
}, true);
}