implemented a way for a console input handler to indicate medium switching
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-05 02:05:19 +09:00
parent 4db3ca157f
commit 50678c4973
6 changed files with 71 additions and 38 deletions

View File

@ -481,11 +481,11 @@ static int hawk_main (MyHawk& hawk, int argc, hawk_bch_t* argv[])
if (hawk.exec(&ret, cmdline.argv, cmdline.argc) <= -1)
{
print_error(hawk);
free_args_for_exec(&cmdline);
return -1;
}
free_args_for_exec(&cmdline);
return 0;
}