summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-23 14:55:24 -0500
committerpommicket <pommicket@gmail.com>2022-12-23 14:55:24 -0500
commit214dae3a7b58077436ffd173ae9fe8f2a6d9b97b (patch)
tree3fda7c1f935eff6ce9e9f647e148296af725e819 /main.c
parentdbab768e4d0be378e65399f32f26edb4756533ce (diff)
wait before showing "Loading..." for autocomplete
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7460e2b..661f4e9 100644
--- a/main.c
+++ b/main.c
@@ -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);