Skip to content
Snippets Groups Projects
Commit 441f087d authored by tanguy.cavagna's avatar tanguy.cavagna :desktop:
Browse files

Added backspace

parent 04706a99
No related branches found
No related tags found
No related merge requests found
......@@ -158,6 +158,13 @@ void launch_game() {
}
}
if (key == KEY_BACKSPACE) {
if (current_try_letter_id > 0) {
current_try_letter_id -= 1;
tries[current_try_id][current_try_letter_id] = '\0';
}
}
handle_controls(key);
refresh();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment