diff options
author | pommicket <pommicket@gmail.com> | 2022-12-23 14:55:24 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-23 14:55:24 -0500 |
commit | 214dae3a7b58077436ffd173ae9fe8f2a6d9b97b (patch) | |
tree | 3fda7c1f935eff6ce9e9f647e148296af725e819 /main.c | |
parent | dbab768e4d0be378e65399f32f26edb4756533ce (diff) |
wait before showing "Loading..." for autocomplete
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,5 @@ /* @TODO: -- only show "Loading..." if it's taking some time (prevent flash) - dont do completion if provides_completion = false - scroll through completions - LSP setting @@ -691,6 +690,7 @@ int main(int argc, char **argv) { while (!ted->quit) { double frame_start = time_get_seconds(); + ted->frame_time = time_get(); SDL_Event event; Uint8 const *keyboard_state = SDL_GetKeyboardState(NULL); |