Advertisement
Guest User

vifm-os-x-patch

a guest
Mar 1st, 2019
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.40 KB | None | 0 0
  1.  src/ui/ui.c | 5 +++++
  2.  1 file changed, 5 insertions(+)
  3.  
  4. diff --git a/src/ui/ui.c b/src/ui/ui.c
  5. index 117ca8b86..ce82b17e8 100644
  6. --- a/src/ui/ui.c
  7. +++ b/src/ui/ui.c
  8. @@ -345,6 +345,11 @@ ui_update_term_state(void)
  9.  int
  10.  ui_char_pressed(wint_t c)
  11.  {
  12. +   if(curr_stats.load_stage < 2)
  13. +   {
  14. +       return 0;
  15. +   }
  16. +
  17.     wint_t pressed = L'\0';
  18.     const int cancellation_state = ui_cancellation_pause();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement