From 44b54fd8ccf4b9ae0a7e459b446fe183b534292b Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 13 Apr 2026 13:56:27 +0300 Subject: 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 --- src/c/fastforge.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/c/fastforge.h') 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 -- cgit v1.2.3