summaryrefslogtreecommitdiff
path: root/src/c/fastforge.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-13 13:56:27 +0300
committerPaul Buetow <paul@buetow.org>2026-04-13 13:56:27 +0300
commit44b54fd8ccf4b9ae0a7e459b446fe183b534292b (patch)
treeaaca9d4e2f316fe7d9b3795f406d8d0d5c65113c /src/c/fastforge.h
parentd236e785c73d713fba688f5dad2624a313a194dd (diff)
v2: add delete fast from history via long-press BACK in edit window
Adds history_delete_entry() in fastforge_core.c which removes an entry at a given index by shifting the tail with memmove, zeroing the vacated slot, recomputing streaks, and persisting. Wires a long-press BACK (700ms) handler in the history edit window that calls it. Updates the hint text to inform the user. Fixed hint text buffer from [40] to [48] to fit the full string. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/c/fastforge.h')
-rw-r--r--src/c/fastforge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c/fastforge.h b/src/c/fastforge.h
index 263a75b..de1959c 100644
--- a/src/c/fastforge.h
+++ b/src/c/fastforge.h
@@ -29,5 +29,6 @@ bool fast_is_running(void);
bool fast_start(uint16_t preset_target_minutes);
bool fast_stop(void);
bool fast_cancel(void);
+bool history_delete_entry(int index);
#endif