cleaned up arbitrary system command code more
parent
367a72fa03
commit
bd2ef80f30
|
@ -466,7 +466,7 @@ exec_project_fkey_command(Application_Links *app, int32_t command_ind){
|
||||||
View_Summary view_ = {0};
|
View_Summary view_ = {0};
|
||||||
View_Summary *view = 0;
|
View_Summary *view = 0;
|
||||||
Buffer_Identifier buffer_id = {0};
|
Buffer_Identifier buffer_id = {0};
|
||||||
uint32_t flags = 0;
|
uint32_t flags = CLI_OverlapWithConflict;
|
||||||
|
|
||||||
bool32 set_fancy_font = false;
|
bool32 set_fancy_font = false;
|
||||||
if (out[0] != 0){
|
if (out[0] != 0){
|
||||||
|
|
|
@ -37,8 +37,7 @@ CUSTOM_COMMAND_SIG(execute_any_cli){
|
||||||
bar_cmd.string = make_fixed_width_string(command_space);
|
bar_cmd.string = make_fixed_width_string(command_space);
|
||||||
if (!query_user_string(app, &bar_cmd)) return;
|
if (!query_user_string(app, &bar_cmd)) return;
|
||||||
|
|
||||||
String hot_directory = make_fixed_width_string(hot_directory_space);
|
directory_get_hot(app, hot_directory_space, sizeof(hot_directory_space));
|
||||||
hot_directory.size = directory_get_hot(app, hot_directory.str, hot_directory.memory_size);
|
|
||||||
|
|
||||||
execute_previous_cli(app);
|
execute_previous_cli(app);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue