Improve code readability: refactor animation code and translate comments

Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-18 08:54:36 +00:00
parent 09ea9d3b06
commit 73995e5828
5 changed files with 128 additions and 114 deletions

View file

@ -4,6 +4,8 @@
void die(const char *fmt, ...);
void *ecalloc(size_t nmemb, size_t size);
int32_t fd_set_nonblock(int32_t fd);
/* Match string against regex pattern. Both pattern and string are multi-byte
* (mb) UTF-8 encoded. */
int32_t regex_match(const char *pattern_mb, const char *str_mb);
void wl_list_append(struct wl_list *list, struct wl_list *object);
uint32_t get_now_in_ms(void);