From 1a5ece4f52ef17c7c868e95eb26e98137d5cab6f Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 7 Mar 2021 23:19:48 -0500 Subject: keyboard support in raleigh, word wrap and more in entry widget --- src/user/include/knob/block.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/user/include/knob/block.h') diff --git a/src/user/include/knob/block.h b/src/user/include/knob/block.h index 565c334..27cb83b 100644 --- a/src/user/include/knob/block.h +++ b/src/user/include/knob/block.h @@ -28,6 +28,9 @@ bool strequ(const char *a, const char *b) __attribute__ ((pure)); //this replacement happens in place, with no memory allocation void str_trunc_fill(char *str, uint32_t len); +//returns first index of any character of delims or the null terminator in str +uint32_t str_find_any(const char *str, const char *delims) __attribute__ ((pure)); + #ifdef __cplusplus } #endif -- cgit v1.2.3