diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2024-08-30 16:08:44 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2024-08-30 16:08:44 +0330 |
commit | 108a4a0c2c14d70c366bbfaa65b7287824fb33da (patch) | |
tree | baacb1f067d7d78d3197cfd39d08ae1ef8d66e62 /src/ui/tui.h | |
parent | 2199503244bef3a5e89e49a9588c7b260f097baf (diff) |
added last_frame in nano seconds
updated example
Diffstat (limited to 'src/ui/tui.h')
-rw-r--r-- | src/ui/tui.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/tui.h b/src/ui/tui.h index 436e132..baf0c3a 100644 --- a/src/ui/tui.h +++ b/src/ui/tui.h @@ -62,6 +62,7 @@ typedef struct TUI { int init_cursor_x, init_cursor_y; TERMINAL_CELL *cells; size_t cells_length; + uint64_t last_frame; // in nanoseconds } TUI; typedef enum WIDGET_TYPE { |