back to scratko.xyz
summaryrefslogtreecommitdiff
path: root/dynamic_array.h
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-06-20 18:38:11 +0300
committerscratko <m@scratko.xyz>2024-06-23 23:25:46 +0300
commit74c6a747a58b38131534556ab95fa4dd4b514780 (patch)
tree68dae86f9ee994c2bc13681703a8c69e0e2b5f51 /dynamic_array.h
parent8f4f87eabec13330a2b3a974975053c1e4632a11 (diff)
downloadshell-edit.tar.gz
shell-edit.tar.bz2
shell-edit.zip
Shell-edit releaseshell-edit
Autocomplete program and file names (tab). Moving the cursor to edit commands (left and right arrows). Deleting a character in a command (backspace).
Diffstat (limited to 'dynamic_array.h')
-rw-r--r--dynamic_array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dynamic_array.h b/dynamic_array.h
index 98491ea..ae63fc4 100644
--- a/dynamic_array.h
+++ b/dynamic_array.h
@@ -14,7 +14,7 @@ struct dynamic_array {
void dynarr_create_array(struct dynamic_array *array);
void dynarr_push_back(struct dynamic_array *array, int letter);
void dynarr_copy_array(struct dynamic_array *array, char *new_arr);
-void dynarr_drop_word(struct dynamic_array *array);
+void dynarr_reset_array(struct dynamic_array *array);
void dynarr_clear(struct dynamic_array *array);
#endif