diff options
author | pommicket <pommicket@gmail.com> | 2022-12-31 10:41:01 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-31 10:41:24 -0500 |
commit | 31520dd979ef8abe4e38d4ba0b2912a8385b8351 (patch) | |
tree | 4a19d083e416741a6b52fdbfda6166ec1773a021 /ide-autocomplete.c | |
parent | 2b3b1bd0ed03739e3357516490e265261c5f815f (diff) |
avoid using time_get_seconds
because it makes a syscall
Diffstat (limited to 'ide-autocomplete.c')
-rw-r--r-- | ide-autocomplete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-autocomplete.c b/ide-autocomplete.c index 47b238f..e5dd848 100644 --- a/ide-autocomplete.c +++ b/ide-autocomplete.c @@ -102,7 +102,7 @@ static bool autocomplete_using_lsp(Ted *ted) { static void autocomplete_no_suggestions(Ted *ted) { Autocomplete *ac = &ted->autocomplete; if (ac->trigger == TRIGGER_INVOKED) - ted->cursor_error_time = time_get_seconds(); + ted_flash_error_cursor(ted); autocomplete_close(ted); } |