Skip to content

Commit

Permalink
chore: increase flash interal
Browse files Browse the repository at this point in the history
Reason: the flash wont be blocking any keypresses now
  • Loading branch information
kraanzu committed Sep 23, 2024
1 parent 26b4457 commit d1bbcba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dooit/ui/widgets/bars/confirm_bar/bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def flash_confirm(self, cancelled: bool):
self.add_class("cancelled")

self.refresh()
self.set_interval(0.8, self.close)
self.set_interval(1.2, self.close)

async def handle_key(self, event: events.Key) -> bool:
cancel = event.key.lower() != "y"
Expand Down

0 comments on commit d1bbcba

Please sign in to comment.