diff --git a/programs/system/notify3/notify.asm b/programs/system/notify3/notify.asm index 54aab258b7..6bfb6fbb20 100644 --- a/programs/system/notify3/notify.asm +++ b/programs/system/notify3/notify.asm @@ -34,10 +34,6 @@ @entry: - mcall 40, 101b - - ;---------------------------- - ;; CHECK FOR PARAMS cmpne [@params], byte 0, parse mov eax, @params @@ -324,6 +320,7 @@ update: mcall 23, 10 cmpe al, EV_REDRAW, redraw + cmpe al, EV_KEY, key cmpe al, EV_BUTTON, exit mov eax, [timer.step] @@ -347,6 +344,13 @@ ;---------------------------- + key: + mcall 2 + cmpne ah, 27, update + jmp exit + + ;---------------------------- + redraw: call draw_window call draw_text