Tags: antonmedv/countdown
Tags
Updates pause functionality (#32) * feat: [add-pause-functionality] Adds Spacebar Pausing Adds pausing to the countdown timer by using the spacebar key. Also added an input delay in order to avoid pausing happening immediately when the space bar button is pressed. * feat: [update-pause-functionality] Updates Pause Updates the pause functionality with the following: 1. Adds pause font in the lower 3/4 of the screen 2. Changes the button press to require a spacebar instead of 'p' and 'c' 3. Adds an input buffer timeout so you don't accidentally pause and unpause with one button press. 4. When unpausing, adds another call of the draw function so that the 'Paused' text is immediately removed instead of waiting for the next tick.