fix(f_wait): flush UI before blocking (#25962)

This commit is contained in:
zeertzjq
2023-11-10 15:24:36 +08:00
committed by GitHub
parent bf5cf8ae82
commit d5a85d737a
7 changed files with 82 additions and 26 deletions

View File

@@ -70,7 +70,7 @@ getkey:
update_screen();
setcursor(); // put cursor back where it belongs
}
// Flush screen updates before blocking
// Flush screen updates before blocking.
ui_flush();
// Call `os_inchar` directly to block for events or user input without
// consuming anything from `input_buffer`(os/input.c) or calling the